for those who are interested in
if you do not want to use the "old" cmsfn-taglib
(http://www.magnolia.info/tlds/cmsfn-taglib.tld) in 4.5 you can get the
children of a page like that
<!-- list of children with links -->
<ul>
<c:set var="children"
value="${cmsfn:children(cmsfn:asContentMap(cmsfn:content('/home', website)),
website)}" />
<c:forEach items="${children}" var="child">
<li><a href="${cmsfn:link(child)}">${child.title}</a></li>
</c:forEach>
</ul>
tobias
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=55b6dd1f-b270-46c9-aa2b-d47a157b37e9
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------