[opencms-dev] cms:contentoad tag and an empty folder

Alexander Kandzior alex at opencms.org
Fri Jan 13 13:19:36 CET 2006


This is the intended behaviour. You can use the <cms:contentcheck> tag in
the and then output something like "the list is empty". To do this, an
evaluation of the body is required even if the list contains no results. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Toni
> Sent: Thursday, January 12, 2006 5:18 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] cms:contentoad tag and an empty folder
> 
> Hi, list.
> 
> I have installed OpenCms 6.0.2 and updated to 6.0.3.
> I have noted that when the cms:contentload have no elements 
> to work with it evaluates its body one time.
> 
> Searching the list archives i arrived to this page:
> http://www.opencms.org/bugzilla/show_bug.cgi?id=916
> 
> Then i went to the OpenCms source code
> (http://www.opencms.org/cvs/viewcvs.cgi/opencms/src/org/opencm
> s/jsp/CmsJspTagContentLoad.java?rev=1.27.2.8&content-type=text
> /vnd.viewcvs-markup)
> looking for the solution proposed by Borja Marcos Suarez but 
> i didn't found it.
> 
> Is the #916 bug really fixed?
> 
> Regards.
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list