Hello Christopher, thanks for the answer :)

I've read those documents, but the function "children" is the same in both 5.4 
as 5.3.3. Let me give you some background:
I have a content app with a list of items of type myContentType. I can use the 
freemarker code below in my author instance and it works perfectly. I've 
published the nodes. I go in to the JCRQuery-app in my public instance and I 
can see that the nodes are in the JCR-tree.

I've checked that the versions are the same for public and author instances.
But when the renderer executes "[#list cmsfn.children(myData, "anItem") as 
anItem]" I get an error on my public instance. This executes perfectly on my 
author instance.

[code]
[#assign myData = cmsfn.contentByPath("/myContentApp/", "data") ]
[#list cmsfn.children(myData, "anItem") as anItem]
[#assign spLogo = damfn.getAsset("jcr", anItem.logo)]
doing stuff
[/#list]
[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=037bd122-42e0-4506-a51a-dc1bbdb65983


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