In the following section, we will create pages with PrimeFaces components so that we can see how themes affect their look and feel. It is a mini showcase because we will not add every available PrimeFaces component.
Perform the following steps to create a Mini Showcase page:
Right-click on the
chapter2
folder and move the mouse over New. Select the Facelets Template Client option and name itmorecomponents
.Choose
chaptersTemplate
as the page template and click on Finish.Add an appropriate page title in the
define name="title"
tag. I used the following:<ui:define name="title"> A mini ShowCase of PrimeFaces components </ui:define>
Then, add the following code in the content...