Java Reference
In-Depth Information
After making the preceding changes, our template client now renders as follows:
As we can see, creating Facelets templates and template clients with NetBeans
is a breeze.
Resource library contracts
Resource library contracts is a new JSF 2.2 feature. It builds on Facelets templates
to allow us to build "themable" web applications. For example, we could have
an application with multiple customers or we could render the application
user interface so that each user sees their own company's logo after logging in.
Alternatively, we could have the user select from a predefined set of themes,
which is exactly what we are going to do in our next example.
Search WWH ::

Custom Search