sections.masterDetail.basicNavigation.xhtml Maven / Gradle / Ivy
Straightforward navigation level by level by using of SelectDetailLevel handler.
Context values (any objects) are passed from level to level and available via context variables.
Level to go to can be set via "level" or "step" attribute (default is step=1 if nothing specified).
Text for breadcrumb items is set by "levelLabel" attribute or "label" facet of MasterDetailLevel component.
Attention: You have to reference the pe:masterDetail in the "update" attribute of command components
manually if you have any auto updatable components, such as p:growl or p:message with p:autoUpdate, on the page.
${showcase:getFileContent('/sections/masterDetail/example-basicNavigation.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/masterdetail/SimpleMasterDetailController.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/model/masterdetail/Sport.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/model/masterdetail/Country.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/model/masterdetail/League.java')}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy