Skip to content

Instantly share code, notes, and snippets.

@wmfairuz
Created May 23, 2014 03:49
Show Gist options
  • Save wmfairuz/0d4455b6040713c80129 to your computer and use it in GitHub Desktop.
Save wmfairuz/0d4455b6040713c80129 to your computer and use it in GitHub Desktop.
properties
currentNode is always available.
1. Access using EL expression
${currentNode.properties.propertyName.format}
OR
${currentNode.properties['propertyname'].format}
2. Access using jahia taglibs
<jcr:nodeProperty node="${currentNode}" name="propertyName" var="varName"/>
${varName.format}
Format: string, long, double, boolean, date, reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment