[opencms-dev] Nesting cms tags
pmarchwiak
pmarchwiak at gmail.com
Mon Feb 19 18:04:42 CET 2007
I am constantly having trouble nesting tags. From looking at past posts, it
seems that it is possible to do it and supposedly there was a bug that is
now fixed. Can anyone tell me if this kind of thing is just not possible to
do in OpenCms? Is there still a bug?
This code gives me an "equal symbol expected error":
<cms:contentload collector="allInSubTree" param="/web/<cms:property
name="SolutionDirectoryName" />/|event">
I also tried something like this:
<c:set var="directory">
/web/<cms:property name="SolutionDirectoryName" />/|news
</c:set>
<cms:contentload collector="allInSubTree" param="${directory}">
but the directory variable comes up blank.
Something like this also doesn't work:
<cms:contentload collector="allInSubTree" param="/web/|solution">
<li class="current-cat"> "<cms:link ${opencms.filename}</cms:link>"
title="Some property of this solution"><cms:contentshow element="Title" />
<ul class='children'>
<cms:contentload collector="allInSubTree" param="/web/<cms:contentshow
element="DirectoryName" />/|subsolution">
<li> "<cms:link ${opencms.filename}</cms:link>" title = "Some property of
this subsolution"><cms:contentshow element="Title" />
</li>
</cms:contentload>
</ul>
</cms:contentload>
--
View this message in context: http://www.nabble.com/Nesting-cms-tags-tf3253987.html#a9045723
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list