Templates in a web application defines a common interface layout and style. For example, a same banner, logo in common header and copyright information in footer. JSF provides following facelets tags to provide a standard web interface layout.
Step | Tag | Description |
---|---|---|
1 | ui:insert | Used in template file. It defines contents to be placed in a template. ui:define tag can replaced its contents. |
2 | ui:define | Defines the contents to be inserted in a template. |