when i'm creating a new page i want to get a parent page property. I create a custom combofield with nodes from a specific path, but i need a parent page property to complete my path. Any idea?
session = MgnlContext.getJCRSession(myWorkspace)
foundNode = session.getNode("/"+ parentPageProperty);
NodeIterator childrenIterator = foundNode.getNodes();
Iterable<Node> childrenIterable = NodeUtil.asIterable(childrenIterator);
List<Node> allNodes = NodeUtil.asList(childrenIterable);