You could have tried something using those: cmsfn.asContentMap(javax.jcr.Node content) or cmsfn.asJCRNode(ContentMap contentMap) - if conversion from Node to ContentMap (or vice versa) is needed.
node.hasProperties() - Indicates whether this node has properties node.getProperties() - Returns a javax.jcr.PropertyIterator with all properties of this node accessible through the current Session. node.hasProperty(java.lang.String relPath) node.getProperty(<propName> or <propPath>) - Returns the property at relPath relative to this node. node.getProperty(<propName>).getValue().getString() PropertyUtil has useful stuff too - see [url=http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.8/apidocs/info/magnolia/jcr/util/PropertyUtil.html]http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.8/apidocs/info/magnolia/jcr/util/PropertyUtil.html[/url] Then iterate over the properties using FTL's built in features. For instance: [code]<#assign seq = ["winter", "spring", "summer", "autumn"]> <#list seq as x> ${x_index + 1}. ${x}<#if x_has_next>,</#if> </#list>[/code] -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=6d8b965e-71c9-477f-81f1-a886fc37c3e3 ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
