Top

Blog

PrimeFaces / Blog (Page 31)

Creating PrimeFaces is now easier than ever, if you have a theme in zip format designed using ThemeRoller, check out ThemeRoller to PrimeFaces Themes converter by osnode; The application is simple, you just need to upload the themeroller zip file with the theme name you want and you'll get a PrimeFaces theme jar in return. Cool thing is, the application itself is created with a PrimeFaces 4.0 build by OSnode....

OutputPanel component is enhanced with a new deferred loading feature. When this feature option is enabled, on page load content of panel is not loaded along with the page but loaded after the page. Initially panel displays a loading animation after page load to indicate more content is coming up and displays content after ajax update. This feature is useful to increase page performance, assume you have one part of the page that has components dealing with...

PrimeFaces Team is pleased to announce a new ELITE Release. 3.5.10 is available one week earlier than the plan due to some issues being urgent to PRO users. This release is a pure maintenance release featuring; Use canvas for FileUpload previews FileUpload tries to preview for non-images Calendar button visuals broken NPE in Exporters for Lazy DataTable after Sort-Page DefaultRequestContext#openDialog checks wrong paramater Possible NPE with selectOneMenu and not defined emptyLabel Download component over SSL on IE8 fails SelectOneMenu Filtering Displays null BlockUI binds duplicate...

PrimeUI 0.9.6 is now available featuring a Theme Gallery and the new Terminal Widget. PrimeFaces Themes have been ported to PrimeUI and they are available at PrimeUI Theme Gallery. Also PrimeFaces Terminal Component is ported as a PrimeUI Widget. Online demo is integrated with a Jersey JAX-RS service to process command with ajax. Download Development and Production versions of PrimeUI is bundled along with the themes and the bundle is available at PrimeFaces Downloads Page. Roadmap PrimeUI 1.0 Release is aligned...

PrimeFaces Team is pleased to announce a new Elite release. 3.5.9 is an important upgrade featuring 35 improvements making close 200 improvements over 3.5 release. Highlight of this release is the brand new html5 fileupload component that fixes problems of old one and adds new handy features. There is also significant amount of maintenance work, updates to latest jQuery Stack, resource versioning, cross-side scripting fixes and enhancements to improve the overall quality of PrimeFaces. Reimplement FileUpload Support multiple advanced...

I've seen the following UI on various e-commerce websites to select a certain item from a hierarchical group of categories like movies, books, travel, outdoor, sports, electronic and more where each category has nested categories. This has been the inspiration for the new MultiSelectListbox Component for PrimeFaces 4.0 codename Sentinel. The component receives a collection of SelectItemGroup instances where each instances has children SelectItemGroups and/or SelectItems. Component only allows SelectItems to be selected not groups as SelectItemGroup...

FileUpload component has been rewritten from scratch to fix the problems of old one and provide new features. It is powered by HTML5 (File API) and has graceful degradation for legacy browsers (e.g. IE8, IE9). Two modes (Simple and Advanced) Multiple file selection from file dialog Progress Tracking DragDrop support from filesystem Graceful Degradation (e.g. IFrame uploads instead of XHR2) Merge mode to send all files in one request Commons FileUpload for JSF 2.1 and Servlet...

Prior to 2.2, JSF had a problem with keeping component values in case validation fails, the problem has been described in detail at; JAVASERVERFACES_SPEC_PUBLIC-1129 https://java.net/jira/browse/JAVASERVERFACES-2576 JSF 2.2 Reset Values During JSF 2.2 Specification process, I brought this up the EG hoping for a standard solution and with the help of Ed Burns, Kito Mann and other members, we came up with a new attribute called resetValues for f:ajax and f:resetValues for non-ajax requests. Thanks to Thomas Andraschko, PrimeFaces 4.0 also has...

In JSF API, UIComponent#findComponent only accepts id expressions. In the render/execute attribute of f:ajax, you can also reference components by some special keywords: @this @form @parent @all @none In PrimeFaces 3.x, we already improved the findComponent logic by adding some new features like @namingcontainer and PrimeFaces Selectors. PrimeFaces Selectors aka provides the ability to reference components by JQuery selectors e.g. (@(:input:disabled), @(.ui-datatable .ui-panel)). For PrimeFaces 4.x, we have taken this to the next level. Thomas Andraschko completely over-worked our search expression logic and created a modular framework with...

ConfirmDialog is handy when you want to provide a fancy confirmation instead of javascript confirm box, however there is one to one relationship between the confirmation source and the dialog itself meaning page author needs to create a separate confirmDialog for each action that requires confirmation. As the page grows, it becomes quite to maintain and page is bloated with confirmDialogs. To improve this in PrimeFaces 4.0, we are introducing a Global ConfirmDialog that is a singleton...