Hi there
I want to get all children with type PAGE from a certain node.
does anybody knows how to do this with JCR2 / Magnolia 4.5x
Old code:
MgnlContext.getHierarchyManager("website").getContentByUUID(uuid).getChildren(ItemType.PAGE);
I tried:
MgnlContext.getJCRSession("website").getNodeByIdentifier(Id).getNodes("mgnl:page");
but this returns an empty collection, if I remove "mgnl:page", all content
inclusive areas are returned.
Thanks
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=c93cfb28-1d6b-4447-9533-488592f743a9
----------------------------------------------------------------
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]>
----------------------------------------------------------------