Nuxeo World session on managing reusable UI components in Nuxeo technology, presented by Anahide Tchertchian during Nuxeo World 2010 (November 17-18, 2010).
8. Implementation with JSF
Used technologies:
● JSF: Java Server Faces
● Facelets
● EL: Expression language
Implementation:
➔ Custom service
➔ Custom tag library using facelets templating
features
8
10. Loose object binding
Binding between a document and a layout:
<nxl:layout name="header" mode="view"
value="#{currentDocument}" />
After layout facelet handlers applied:
<h:outputText
value="#{currentDocument.dc.title}" />
10
14. Content view usage
Get a list of items and render them
● Query with filters
● Contextual parameters
● Rendering of the list and content
● Sorting and pagination
14
22. Result layouts 1/2
● Layouts iteration
● Loose mapping between listing item and
result layout
● More information on layout rows/columns:
● Column label
● Sort
22