Hi group What is the most elegant way of retrieving the underlying JCR Node from a (custom) field?
I managed to use this abomination, but I think we could do better? [code] ((JcrNodeAdapter)this.getValue().getItemProperty(getValue().getItemPropertyIds().iterator().next()).getValue()).getJcrItem()[/code] -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8c831e7b-8fed-4856-8e74-d31f16986488 ---------------------------------------------------------------- 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: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------