Java Reference
In-Depth Information
</ui:composition> </
In our example, we took advantage of NetBean's Facelet Template
generation, that way we can get some very nice CSS styles for "free",
refer to the previous chapter for details on NetBeans' Facelets Tem-
plate capabilities.
When we run our project, the above markup is rendered on the browser as shown in
the following screenshot:
The first new PrimeFaces component we used on our page was the <p:messages>
component. This component can be used as a drop-in replacement for the standard
JSF <h:messages> component. The advantage of <p:messages> over <h:messages>
is that with <p:messages> , error messages are nicely formatted by default.
Search WWH ::

Custom Search