PrimeFaces Team is pleased to announce the first Elite release for 5.0.x and the 14th for the 4.0.x. line.
Legacy Widget Namespace
In 4.0, widgetVar.method() usage to access the client side api of a component has been deprecated in favor of PF(‘widgetVar’).show() to keep the window scope clean. It seems not everyone has migrated to PF(‘…’) in 4.x and upon requests of two PRO users, we have added a context parameter to bring window scope back. Please note that PF(‘…’) is always on, following configuration also enables access from window scope as before (widgetVar.method()).
FileUpload Temporary Files
FileUpload component writes the files to a temporary location which is customizable (java.io.tmpdir by default). However these files were not cleaned periodically until now. As a side note to make sure cleaner thread is closed automatically when the application shuts down, a listener is required. This only applies if you are using commons upload not the native servlet uploader.
New additions to Chart API like legendPlacement enables more control over the chart legend positioning. Also negative series colors can now be customized easily.
Filtering is case sensitive in 5.0, due to feedback it is now case insensitive. FilterEvent was also providing wrong information about the filters, it has been corrected as well.
SelectOneMenu Keyboard Highlighter
SelectOneMenu keyboard highlight support was limited, it can only highlight the option using the first letter, for a country dropdown, hitting G key highlights Germany first and quickly pressing R moves to Greece. However in p:selectOneMenu case, highlight moves to Romania. In addition to this, support for non-latin languages like Arabic, Russian, Chinese was missing. Thanks to a PRO user’s sponsorship, p:selectOneMenu behavior for keyboard highlighter is now aligned with basic select element.
ToolbarGroup has been deprecated in favor of left and right facets however a PRO user has more than 300 toolbars in their applications so their log files are filled up with deprecation messages. To support our client, we removed the deprecation notice and decided to support both toolbar group and facets at the same time. You know what they say: “With PrimeFaces PRO, it’s easy to support, tune and add features to PrimeFaces as if it were an in-house framework.”
So these are the highlights, here is the full change log.
Binaries, Sources, API docs and VDL docs are available in PrimeFaces Elite Portal for ELITE and PRO users as an official release bundle.
Our plan is to support 4.0.x until the end of 2014 and finish it around 4.0.25. Elite Release cycle is bi-weekly so next 5.0.2 with 4.0.15 is planned to be released in 2nd week of June.