Hi, I'm trying to do some logic in my Spring controller where I route to a 
website node based on the template used in another website node.  

I can use 
LifeTimeJCRSessionUtil.getHierarchyManager("website").getContent("mynodepath").getTemplate()
 to do this, but I see that the HierarchyManager and Content classes are 
depreciated.   

I looked at the Session class, but I have thus far been unable to figure out 
how to get the Template id based on the jcrNode.  

Thank you for your time.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=a9555cdd-27e8-4b1c-b391-a81c4bc3e0bb


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