Top

Blog

PrimeFaces / Blog (Page 59)

David Heffelfinger has released his new book titled "Java EE with NetBeans 7". Importance of this book other that being a great resource on Java EE 6 for us is the wide coverage of PrimeFaces. As you know NetBeans 7 only bundles PrimeFaces as the component suite and David showed how to utilize PrimeFaces to create awesome looking RIA easily. Lately an interview with David is posted on dzone where he also praises PrimeFaces. And now it's the...

Prime Teknoloji is pleased to announce the 3.0.M2 version of the leading JSF component suite, PrimeFaces. This release contains more than 100 improvements and a lot of hard work. Notable features are; Reimplementation of component event callbacks (*Listener, *Update) as ajax behaviors. See details here. Reimplemented Charts using HTML5 Canvas, replaced flash based implementation. Reimplemented Layout Component. Reimplemented ColorPicker. Resizable DataTable Columns. Implementation of some most votes requests like default sorting for datatable. Update to latest jQuery stack versions(jQuery, jQuery UI, jQuery Mobile...

If you haven't heard already, PrimeFaces Guide will be free in 3.0 final, I'll start updating it before 3.0 goes final which is planned for september. We've seen that there are many users on 3.0.x which is officially undocumented, only available doc resource is labs showcase. So to help a bit more, in 3.0.M3 we are putting the tag and attribute documentation back in facelet taglib so your IDEs can display what that attribute is for,...

PrimeFaces 3.0.M2 features a new Log component to display client side logs. We use it internally for core features now and use it more in future versions to make PrimeFaces more transparent. Using the client side api, you can also log stuff with your javascript. Online demo is available at PrimeFaces Labs. Enjoy!...

Most notable thing about PrimeFaces 3.0.M2 is the implementation of component callbacks as ajax behaviors, read more here about the idea here. While providing the component events as behaviors, I have decided to add more hooks to increase flexibility even more. Frameworks like JSF and the component libraries tend to do a lot for you but important design principle of PrimeFaces is transparency and keep page author in control. As an application developer, I don't like the...

SkySoftware, creator of MyEclipse for Spring Tool has put a screencast on Video demonstrating PrimeFaces-Spring code generation from database schemas. Great work! Tool is awesome, feedback I can give is to update PrimeFaces version and use p:* form components and allow an option in wizard to select the theme to use. [youtube=http://www.youtube.com/watch?v=IeZ8pjRdCdE] Also friends at SpringSource contacted me to provide an update on JSF-PrimeFaces addon for Spring ROO. Can't reveal much other than "stay tuned" a bit more....

As of PrimeFaces 2.x, oncomplete callback can be used to execute javascript when an ajax request completes like; [crayon-599bbcf9ae055426712952/] In case where you need to add conditional logic to your oncomplete that is done via RequestContext callback parameters, like hiding/showing dialog in case of validation errors(see demo). With 3.0.M2, there is a new handy feature coming which is executing javascript from your backing beans; [crayon-599bbcf9ae05a112566090/]  ...

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-599bbcf9ae5af703336679/] [crayon-599bbcf9ae5b4319563502/] [crayon-599bbcf9ae5b7365903903/] A bit of work right? Definitely against "make it easy" aim of PrimeFaces, so as of 3.0.M2 we can now do; [crayon-599bbcf9ae5b9838323034/] [crayon-599bbcf9ae5ba324271381/] And that's it, PrimeFaces will handle stopping the poll under the hood....