sections.dynaform.advancedFeatures.xhtml Maven / Gradle / Ivy
This example demonstrates how to build an advanced dynamic form with facets, autoSubmit feature and extended view area (grid).
When you see this page, the form was already submitted on page load automatically - autoSubmit feature allows to submit the form after the current page has been loaded.
What it is good for? autoSubmit flag makes possible to pass form parameters in URL, build a form on page load and submit it automatically.
Extended grid with form elements is closed per default, but you can open it by using of client-side API (see last form button).
Open / close state is managed automatically, so that the form is shown correct after a postback update.
${showcase:getFileContent('/sections/dynaform/example-advancedFeatures.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/dynaform/AdvancedDynaFormController.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/model/dynaform/InventoryProperty.java')}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy