Oh, and according to the doc I pointed to in my last post, you can do [#assign
page = cmsfn.page(content)] to get the page your component is on.
Then as Natascha mentioned, you can do ${page.title} or whatever it is you need.
One thing to bear in mind when playing with the content on the front end: you
either get an object of type ContentMap or Node. So when you get a Node you may
need to convert it to a ContentMap to do what you need (or vice versa). See
cmsfn.asContentMap(javax.jcr.Node content) and cmsfn.asJCRNode(ContentMap
contentMap) or content.getJCRNode()
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=2c4e414e-a181-489d-ba8e-9e2cc938940a
----------------------------------------------------------------
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]>
----------------------------------------------------------------