As for generating a menu ( I am not using the STK, due license issues), I do
now something like this:
cms:setNode var="root" path="/"/>
<c:forEach items="${root.children}" var="child">
<c:if test="${not empty child.title}">
<li><a
href="${pageContext.request.contextPath}${child.handle}.html">${child.title}</a></li>
</c:if>
</c:forEach>
This works fine, generating a menu out of all children from root. But, whenever
I try to access a parameter other than "title" it gives me an error. Btw, this
is taken from a blossom example, where it is used as well.
I do wonder how I can make this more flexible; or perhaps use the
contentNodeIterator if possible.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=46b85539-b6b9-4178-a2e6-e957e0bb916d
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------