jahia

Get the current Node in JSP with Jahia?


Is there a way to get the current node you are with Jahia ?

I tried to find in the documentation, but Jahia's not greatly documented.

tried to use ${node.path} but didn't gave me what I wanted.


Solution

  • ${renderContext.mainResource.node.path} is the solution.