sections.dynaform.anotherForms.xhtml Maven / Gradle / Ivy
The newest version!
This example demonstrates how to build dynamic forms with labels above fields and various elements like PrimeFaces separator.
Try to switch two forms by clicking on the "Switch model" link. Note, XHTML code with pe:dynaForm stays the same, only Java model gets changed.
${showcase:getFileContent('/sections/dynaform/example-anotherForms.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/dynaform/AnotherDynaFormController.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/model/dynaform/FormField.java')}