Yeah, I'm aware that a "content" ContentMap exists in the JSP request context.  
After reading through the code for <cms:component> and such, I decided grabbing 
it was the best way:

[code]<jsp:scriptlet>
Node current = ((ContentMap)request.getAttribute("content")).getJCRNode();
</jsp:scriplet>[/code]

In this case I am dropping to scriplet because I need to do some date 
manipulation on the page's last modified date, which is not easy to do with any 
pre-built taglib classes.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=03ec62eb-8378-4fe8-a74e-fc252ebcdbc5


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to