Access resources in Java archives with Virtual File System (cross-application...
During my work on a custom JSF library I was looking for a way how to read the metadata from composite components in order to create a nice self-documented library. Based on this great article from Ed...
View ArticlePrimeFaces Cookbook published today
PrimeFaces Cookbook was published today. The book writing was a piece of a hard work and I'm happy to finish it.I would like to thanks all persons who were involved in the entire writing / reviewing...
View ArticleHow to prevent tab changing in PrimeFaces TabView when validation failed
Trying various approaches to the question above (with p:ajax event="tabChange" and so on), I came up with a clean and well working solution. The code below turns on the PrimeFaces TabView into a...
View ArticleEager CDI beans
Everybody knows eager managed beans in JSF 2. @ManagedBean has an eager attribute. If eager="true" and the scope is application, then this bean must be created when the application starts and not...
View ArticlePassing complex objects in URL parameters
Imagine you would like to pass primitive data types, complex Java objects like java.util.Data, java.lang.List, generic classes, arrays and everything what you want via URL parameters in order to preset...
View Article"Alway in view" paradigm in web
I was thinking about writing the next post in my blog and remembered one well-known paradigm I used in my completed web projects. The paradigm is to show current element(s) to be navigated always in...
View ArticlePrimeFaces Extensions 0.7 released
We are glad to announce the new 0.7 release of PrimeFaces Extensions. This is a main release which contains a lot of improvements and bug fixes. The full list of closed issues is on the GitHub. I would...
View ArticleJSF: choice between legacy components and fashionable performance killers
This blog post was originated due to performance issues in one big web application. Everybody optimizes Java code, but it seems nobody try to optimize the JavaScript code. Strange, because on the...
View ArticleMultiple dynamic includes with one JSF tag
Every JSF developer knows the ui:include and ui:param tags. You can include a facelet (XHTML file) and pass an object, which will be available in the included facelet, as follows <ui:include...
View ArticlePrimeFaces Extensions 0.7.1 released
We are glad to announce a maintenance release of PrimeFaces Extensions 0.7.1. This release only contains fixed issues. The full list is on the GitHub. Updated components are Exporter, KeyFilter,...
View ArticleProper decoding of URL parameters on the server-side in JBoss
I spent many hours today to figure out how to force a proper decoding of encoded characters in JSF applications running on JBoss (using JBoss 7 Final). The problem occurs when you have e.g. chinese...
View ArticleMonitor full page, non AJAX, requests to be notified
Recently, working on new charts and chart "exporting service" in JSF, I've faced a quite common problem. When you execute a long-running task (action), you would like to show a status "Please wait ..."...
View ArticleNew release of Maven resource optimization plugin
I released today a new 1.0.0 version of the Maven plugin for web resource optimization.Fixed issues:Thread safety of resource optimizer pluginUpdate dependencies to the Maven resource optimizer...
View ArticleSimple and lightweight pool implementation
Object pools are containers which contain a specified amount of objects. When an object is taken from the pool, it is not available in the pool until it is put back. Objects in the pool have a...
View ArticleNew features in BlockUI of PrimeFaces Extensions
PrimeFaces users were worried if we will keep the BlockUI component in the PrimeFaces Extensions. Yes, we will keep it. It was done compatible with the upcoming PrimeFaces 4.0 and got some updates /...
View ArticlePrimeFaces Extensions 1.0.0.RC1 released
We are glad to announce the first release candidate 1.0.0.RC1 of PrimeFaces Extensions. This release is fully compatible with the PrimeFaces 4.0.RC1 (codename SENTINEL). Once the PrimeFaces 4.0 final...
View ArticleTimeline component features lazy loading
The first release candidate 1.0.0.RC1 of the PrimeFaces Extensions brought one new of two planned features for the Timeline component. This component supports lazy loading of events during moving /...
View ArticlePrimeFaces Extensions 1.0.0 released
We are glad to announce the final release 1.0.0 of PrimeFaces Extensions. The full list of closed issues is on the GitHub. This release is fully compatible with the PrimeFaces 4.0 which was also...
View ArticlePrimeFaces Extensions: drag-and-drop feature in Timeline
Since the last release of the PrimeFaces Extensions, the Timeline component allows dragging items from the outside (an external list, etc.) and dropping them onto the Timeline. The picture shows the...
View ArticlePass JavaScript function via JSON. Pitfall and solution.
JSON is a lightweight data-interchange format. It is well readable and writable for humans and it is easy for machines to parse and generate. The most of JavaScript libraries, frameworks, plugins and...
View Article