Hi, you can use loadPage
http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.4.1/magnolia-taglib-cms/tagreference.html#cms:setNode Thanks, Marvin -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Magnolia Forums (on behalf of null) Gesendet: Freitag, 8. Juli 2011 16:37 An: Magnolia User List Betreff: [magnolia-user] JSTL: best way to get a subnode of a content Hi, I'm trying in a template (JSP) to get access at another page contents. my page is structured as follow: - page --- title --- contents ------ abstract ------ ...etc --- meta I got my page through a JSTL taglib query <cms:query> I loop through the query and use setNode to get a NodeMapWrapper and I'm able to access title value for example. I'm not able to access through JSTL to contents.abstract I'm able to do so using a scriptlet: Content temp = (Content)pageContext.getAttribute("currentNode"); pageContext.setAttribute("currentNode", temp.getContent("contents") ); and then back correctly to JSTL. What is the best way to do so in JSTL? I've tried different ways but none works. Can you help me? Thanks -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=c9f0503b-3641-4036-b070-8f47c2ef0b1d ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
