Skip to content

Instantly share code, notes, and snippets.

@wmfairuz
Created May 23, 2014 03:44
Show Gist options
  • Save wmfairuz/a4a785d94885abf3809b to your computer and use it in GitHub Desktop.
Save wmfairuz/a4a785d94885abf3809b to your computer and use it in GitHub Desktop.
views
It's possible to define specific views to fit different output formats.
Example for node type jnt:survey
- Jahia will search for jnt_survey
- If rendered using html, jahia will search for sub-folder called html
- It will search for survey.jsp
/jnt_survey/html/survey.jsp
Additional view:
<type>.<viewname>.jsp
example: survey.list.jsp will implement the view "list" for the type jnt:survey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment