Top

Blog

PrimeFaces / Blog (Page 58)

PrimeFaces Poll component enables doing periodic requests in a specified interval, at some point you may need to stop the polling depending on a change on server side. With PrimeFaces 2.2.1 this can be implemented using RequestContext API as; [crayon-592b32152c64a204582981/] [crayon-592b32152c650895107595/] [crayon-592b32152c651713901014/] A bit of work right? Definitely against "make it easy" aim of PrimeFaces, so as of 3.0.M2 we can now do; [crayon-592b32152c652598751475/] [crayon-592b32152c653551171390/] And that's it, PrimeFaces will handle stopping the poll under the hood....

PrimeFaces DataTable Columns are now resizable, you just need to set resizableColumns to true. State is preserved on postback via cookie based persistence and we might add some ajax resize listeners if there is demand from community. Beta demos are available at Labs Showcase. This feature is actually sponsored by a client so it is paid work. It is always great to find the chance to have a sponsor to implement something for PrimeFaces and also share the...

PrimeFaces provides various component callbacks to respond certains events, for example dialog has a server side closeListener and an attribute like onCloseUpdate. Similarly datatable has rowSelectListener with onRowSelectUpdate option. That is how we are implementing the callbacks, well...

Old PrimeFaces ColorPicker wasn't lightweight as I wanted it to be, it was requiring many resources to be loaded on the page and it was YUI based which we try to replace with jQuery as I've explained before. 3.0.M2 has a new colorPicker built on top of jQuery ColorPicker plugin with various PrimeFaces extensions to make it play nice with JSF programming model. Notable improvements of new colorPicker over old one are; Lightweight New display modes,...

Conference break is over and I've started working on PrimeFaces 3.0.M2. First improved thing in 3.0.M2 is the layout component, previous layout component was based on YUI layout and as you already now, we are trying to replace the remaining YUI stuff in PrimeFaces with third party jQuery counterparts when available or write our own widgets. Old layout was doing the job but had various limitations. New Layout is based on jQuery Layout project with a...

I was in Vienna, Austria last week to join Confess 2011 conference formerly known as JSFDays/EJugDays. This was my third time in Vienna and really enjoyed meeting JSF Crew (Ed Burns, Kito Mann, Matthias Wessendorf, Max Katz, Mart Struberg, Neil Griffin and all friends from Irian) again. Also it was great to meet PrimeFaces users in person. I've done a PrimeFaces session and a PrimeFaces Mobile workshop, slides of my session are available at here....