Hi everyone,
I'm struggeling with receiving the data from my multiselect control, here's a 
pic of my dialog and the JCR Browser:

[img]http://i12.photobucket.com/albums/a235/mhbgif/Unbenannt-2.jpg[/img]

Now I want to display the entries of the multiselect dialog, here's my code:

[code]
<%@ taglib prefix="cms" uri="cms-taglib" %>
<%@ taglib prefix="cmsu" uri="cms-util-taglib" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core";  %>

<cms:editBar />
<h2>Name: ${content.name}</br>
LinkURL: ${content.LinkURL}</br>
Versionen: 

<cms:out contentNodeName="Version" nodeDataName="0"/>
<cms:setNode var="entries" contentNodeName="Version"/>
<c:forEach items="${entries}" var="child">
        ${child}
</c:forEach>

</h2>
[/code]

Here's the output:

Name: Name
LinkURL: LinkURL
Versionen: 2 info.magnolia.cms.util.NodeMapWrapper$1@5decacf5 
info.magnolia.cms.util.NodeMapWrapper$1@d3a0c0b 
info.magnolia.cms.util.NodeMapWrapper$1@5d4f38ff 

You see, "<cms:out contentNodeName="Version" nodeDataName="0"/>" is working, 
but that's too static of course. Why doesn't my loop work properly? The output 
tells me, it is addressing the entries but somehow the values don't get 
displayed.

Hope you can shed light on that issue! Thank you very much.

Erando

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=e19217f2-b670-4475-989d-7979ddcee87d


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