[opencms-dev] New tag cms:resourceload in OpenCms 8, no cmsresourceinfo

Sandrine Prousteau s.prousteau at eurelis.com
Tue Jul 19 11:42:33 CEST 2011


Hi all!
I'd like to use the new tag <cms:resourceload> in OpenCms 8.0.1, but there is no tag <cms:resourceinfo> to check there are resources to load...
This is my code, do you have a solution to prevent error if the folder is empty?

<cms:resourceload collector="allInFolder" param="${folder}|image">
  <cms:resourceaccess var="item" />
  <c:set var="baseline_uri">${item.filename}</c:set>
  <%	my work  %>
</cms:resourceload>

Does a <cms:resourceinfo> tag will be added to OpenCms?


More information about the opencms-dev mailing list