[opencms-dev] Taglib, ContentLoop : logical problem

Sylvain Courcelle s.courcelle at eurelis.com
Wed Feb 27 11:54:26 CET 2008


Hi all,

 

I try to understand the <cms :contentloop> Tag from OpenCms taglib. My
purpose is to use a Loop, to surround a custom tag. Then, I could get
the current element to forward it to the custom Tag. BUT the problem is
:

I can't find how to get the current element ! Is there a Macro, any var
or element on pageContext ??

 

PS : my code sample :

 

<cms:contentloop element="Colonne1">

  <customtags:contentshow elem="pathOfCurrentElem"/>

</cms:contentloop>

 

--> what should I use to set elem ?

 

 

Thanks and regards,

 

Sylvain Courcelle,

Eurelis

www.eurelis.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080227/e81af2e4/attachment.htm>


More information about the opencms-dev mailing list