[opencms-dev] Content tags Empty test
David García González
david.garciag at fundacionctic.org
Mon Apr 3 10:32:00 CEST 2006
Try this:
<cms:contentload collector="allInFolderDateReleasedDesc"
param="${opencms.folder}faq_${number}.html|PortalesFaq|7"
editable="true">
<cms:contentinfo var="infoCollector" />
<c:if test="${infoCollector.resultSize le 0}">
<cms:contentshow...>
</c:if>
***********************************************************************
David García González
Fundación CTIC
-Centro Tecnológico de la Información y la Comunicación-
E-mail: david.garciag at fundacionctic.org
Tfno: +34 984 29 12 12
-Parque Científico y Tecnológico Gijón-Asturias-Spain
www.fundacionctic.org
***********************************************************************
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] En nombre de Asaf Amit
Enviado el: viernes, 31 de marzo de 2006 1:23
Para: opencms-dev at opencms.org
Asunto: [opencms-dev] Content tags Empty test
Hi,
Is there a way of testing a content say from a <cms:contentload ...> to
see if its empty before using a <cms:contentshow .../> e.g. something
like <cms:contentcheck ifnotempty="Info" ...>
Asaf
_______________________________________________
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