Top

Blog

PrimeFaces / Blog (Page 35)

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...

As in 2012, PrimeFaces will be at JavaOne 2013 again. This time PrimeFaces Cookbook Co-Author Mert Çalışkan and Martin Fousek from NetBeans Team will be doing a session titled "10 Tips for Java EE 7 with PrimeFaces". This session takes you on a JSF tour with the help of Java EE 7, together with PrimeFaces and the NetBeans IDE. The tour begins with an introduction of PrimeFaces and its features, such as UI components and themes. Focusing...

PrimeUI 0.9.5 is now available featuring the mighty DataTable widget. This widget is designed to consume JSON and for the initial implementation we have decided to provide the most common use cases; Local and Remote Data Pagination Sorting Single and Multiple Selection Online example is available at PrimeUI showcase demonstrating both a local json array and remote json data via a JAX-RS (Jersey) Service. In future versions we plan to add various new features ported from PrimeFaces...

3.5.8 is a new PrimeFaces Elite version that brings 30 improvements to 3.5.x series making over 150 improvements to 3.5 in total with previous Elite Releases. New Features New Component: Fragment RequestContext.showMessageInDialog(FacesMessage) API Customizable MenuButton icon position. SelectOneListbox-SelectManyMenu misses onclick and ondblclick attributes Defect Fixes DataTable default sort not applied after ajax update Events are not firing in dynamic columns header Dynamic Columns don't reflect changes on model correctly Dialog Framework - Modality lost after redirect in dialog Maxlength attribute ignored for autoComplete in multiple mode Inplace validation...