sections.layout.elementLayout.xhtml Maven / Gradle / Ivy
Element layout is defined via "fullPage" attribute. Setting "fullPage" to false causes an element layout.
An example below shows two element layouts with server-side state management. Try to resize, open or close panes and switch between layouts.
The entire layout is described by options (class LayoutOptions) which are bound to the "options" attribute of pe:layout.
They are created like a Tree with parent-child relation. LayoutOptions is optional, it also possible to create a layout
by options defined as attributes of pe:layoutPane. Note: LayoutOptions created as Java model takes precedence over layout options
as tag attributes. It is up to you if you would like to use all available options via LayoutOptions or a limited set of options in pe:layoutPane.
${showcase:getFileContent('/sections/layout/example-elementLayout.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/layout/ElementLayoutController.java')}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy