I am in a page template where I load another page (with cms:loadPage) whose
children I iterate through with cms:contentNodeIterator.
Within the iterator, I would like to create a link (href) to each of these
child-nodes in the form of
<a href="<cms:out value="${currentIteratorNode.handle}/>"/>
Of course, this does obviously not work, as currentIteratorNode is unknown, and
I don't know how to get hold of the current loop instance. But I am sure that
there must be an easy way to achieve this, however, I cannot find an example to
do so.
The final html output should look like this:
****somepage.html
...
<a href="/en/report1.html">The title of report1</a>
<a href="/en/report2.html">The title of report2</a>
<a href="/en/report3.html">The title of report3</a>
...
*****
Thanks for any hint.
-- Juerg
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------