ok, here's the JSP code for 4.5.2 CE for the multiselect data:

[code]<%@ taglib prefix="cmsfn" 
uri="http://magnolia-cms.com/taglib/templating-components/cmsfn"; %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core";  %>
<%@ page import="javax.jcr.*" %>
<%@ page import="info.magnolia.templating.functions.TemplatingFunctions" %>
<%@ page import="info.magnolia.jcr.util.ContentMap" %>


<c:set var="version" value="${content.Version}"/>
<%
 ContentMap versions = (ContentMap)pageContext.findAttribute("version");
TemplatingFunctions cmsfn = (TemplatingFunctions) request.getAttribute("cmsfn");
 for (PropertyIterator iter = cmsfn.asJCRNode(versions).getProperties(); 
iter.hasNext();) {
         Property myProperty = iter.nextProperty();
         try{
         if(!myProperty.getName().contains("jcr")){
                %><%= myProperty.getValue().getString()  %>...........<%= 
myProperty.getName() %><br>
        <%
                }
        }catch(ValueFormatException e){
        
        }
   }
%>[/code]

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