Top

Blog

PrimeFaces / Blog (Page 32)

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

JSF 2.2 has a great feature to add dynamic attributes to a component on runtime, these attributes are called pass through attributes. PrimeFaces 4.0 is aimed to support JSF 2.0,  2.1 and 2.2 at the same time using runtime detection and lately pass through attributes support is added to 4.0; [crayon-58d9e2065c34a613567206/] Special thanks to PrimeFaces Friend Rudy De Busscher for his contribution regarding the implementation....

A brand new PrimeFaces Book is now available from Packt Publlishing authored by PrimeFaces and JSF expert Ian Hlavats. Instant PrimeFaces Starter is great for developers looking to get started quickly with PrimeFaces. It's assumed that you have some JSF experience already, as well as familiarity with other Java technologies such as CDI and JPA and an understanding of MVC principles, object-relational mapping (ORM), and dependency injection (DI). The sample application included with the book is fully...

Fragment component is used to define automatic partially process and update sections whenever ajax request is triggered by a descandant component. Fragment makes it easy to define partial ajax process and update without explicitly defining component identifiers. In the following example, required input field outside the fragment is ignored and only the contents of the fragment are processed-updated automatically on button click since button is inside the fragment. [crayon-58d9e2065c8df766803621/] Check out PrimeFaces Showcase for the live demo! This component has...

Showing a message in a dialog is a common requirement and new Dialog Framework provides a way to make this easier. Usually this can be done by placing a p:dialog on a page with a messages component inside and page author manually needs to update the messages after adding a message to request. Well, in dialog framework it is just one line of java code; [crayon-58d9e2065cc7a354321358/] [crayon-58d9e2065cc7d052192776/] Check out the live demo on PrimeFaces Showcase. This feature will be available...

Dialog Framework (DF) is a new addition to the PrimeFaces to open an external xhtml page in a dialog that is generated dynamically on runtime. This is quite different to regular usage of dialogs with declarative p:dialog components as DF is based on a programmatic API where dialogs are created and destroyed on runtime. Please note that DF and the current approach are two different ways and both can even be used together. Usage is quite simple,...

PrimeFaces Team is glad to announce the brand new Elite 3.5.7 release bringing the Multiple Tree DragDrop and the Dialog Framework from the Sentinel (PrimeFaces-4.0) as the highlights. In addition, 3.5.7 is equipped with various defect fixes and enhancements. Multiple Tree DragDrop Dialog Framework Dialog Framework is used to display any external xhtml view in a dialog that is generated  dynamically on runtime. This is an alternative approach to using dialogs declarative with p:dialog components. Using Dialog Framework API,...

DragDrop support for Tree is one of the many highlights of PrimeFaces 4.0 aka Sentinel, we have already announced the single tree dragdrop before and as planned multiple tree support is also now available. Multiple trees can be grouped together using a scope attribute. Demo is also available at showcase (clearing browser cache is suggested). This feature is a sponsored request from a PrimeFaces PRO client and since they also need it on an 3.5.x release that they...