JSF 2.2 Create a custom Hello World component in 30 seconds
Let’s jump directly to the cool stuff and say that in JSF 2.0 a custom component was made available to page authors by configuring it in a Facelet tag library (*taglib.xml). Moreover, when the...
View ArticleProgrammatically caching PrimeFaces charts via OmniFaces Cache component
In this post, you will see how to combine PrimeFaces and OmniFaces to obtain cacheable charts. In order to keep the things simple, we will use a PrimeFaces Line Chart. For this kind of chart we can use...
View ArticleJSF Scopes Tutorial – JSF/CDI Session Scope
The session scope lives across multiple HTTP request-response cycles (theoretical unlimited). The request scope is very useful in any web application when you need a single...
View ArticleHow view parameters are obtained/attached from/to the URL query string...
Let’s dissect several simple use cases and see how view parameters works (view parameters names are not mandatory to match the request parameters passed via URL query string, but in this post we will...
View Article