Hi everyone,
I just can't figure out how to evaluate if checkboxes are checked in Magnolia 
4.5.x.

[img]http://i12.photobucket.com/albums/a235/mhbgif/jcr_checkbox.jpg[/img]

This is a screenshot of my JCR Browser. Now I need to know which nodes are 
inside my "xmlSources" collection. I tried various cmsfn functions in my jsp 
file.

[code]<%@ taglib prefix="cmsfn" 
uri="http://magnolia-cms.com/taglib/templating-components/cmsfn"; %>

<c:forEach var="entry" items="${cmsfn:nodeDataIterator(content,'xmlSources')}">
   ${cmsfn:decode(entry)}<br/>
   
</c:forEach>
[/code]

This one returns an error "Caused by: org.apache.jasper.JasperException: 
/templates/components/file.jsp(3,0) The function nodeDataIterator cannot be 
located with the specified prefix
" Why is that?

[code]<c:forEach var="entry" items="${cmsfn:children(content,'xmlSources')}">
   ${cmsfn:decode(entry)}<br/>
   
</c:forEach>[/code]

This one doesn't throw errors but doesn't print out anything either.

Can anybody tell me the solution right away?

And is there any tutorial or something on how to traverse the tree in the JCR 
browser in 4.5.x?

I'd appreciate something like that.

Thanks!

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=08a0872a-75ed-48c2-a9e8-52f7554f7630


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to