Top

Blog

PrimeFaces / Blog (Page 67)

As PrimeFaces is getting popular each day, more and more people are evaluating PrimeFaces. If you are using PrimeFaces, we would appreciate a lot if you take a moment and contribute by adding your reference to the Who Uses PrimeFaces Wiki page. This is really important for us and the success of the project....

PrimeFaces is famous of it's compatibility with other libraries, for example I know there are many users having PrimeFaces and JBoss RichFaces in their projects with no major problems. Recently I've also integrated PrimeFaces with Apache Trinidad however it is a bit tricky. In RichFaces case I didn't have to do anything but with Trinidad I've created a very tiny library called compat-trinidad.jar that enables PrimeFaces to work with Trinidad. So what were the major problems...

I'm glad to announce that Spring WebFlow support which has been requested many times from Spring WebFlow users, has been added to PrimeFaces. In two different conferences, after my talks I was even approached by SWF users about this that they can't use them together. Also there're posts about this both in SWF and PrimeFaces community forums. Main issue was SWF continuing the rendering of whole view even though PrimeFaces completes it's partial response and calls responseComplete....

In the past I've worked on UI authorization for JSF, starting with porting SpringSecurity JSP tags to JSF and then MyFaces Security Context. Recently I've also added an improved version of these EL extensions to PrimeFaces. Here are some examples; #{p:ifGranted('ROLE_ADMIN')} #{p:ifAllGranted('ROLE_EDITOR, ROLE_APPROVER')} #{p:ifAnyGranted('ROLE_USER, ROLE_ADMIN')} #{p:ifNotGranted('ROLE_GUEST')} #{p:remoteUser()} #{p:userPrincipal()} Usage is simple as; [crayon-594c5cd83796b158999518/] With these extensions, there is no need to bloat components with attributes like visibleUserInRole and disabledUserInRole, as security is a cross-cutting concern and UI components should...

At the end of February, I've joined three events(JSFDays10(Vienna), JDC10(Cairo), London JUG) which I call "PrimeFaces Tour". I've done three sessions in three different countries, although it is quite tiring, it was a lot of fun to meet PrimeFaces users. Slides of my "NextGen Component Suite: PrimeFaces" presentation are now available at the documentation section of PrimeFaces HomePage. Also a video is available that belongs to the last event of the tour organized by London Java Users Group. Now...

Tomorrow on 3rd of March, I'll be speaking at an event titled "An Evening of JSF" organized by London Java Community and hosted by SkillsMatter. There's also a "Spring Webflow and JSF" talk addition to the PrimeFaces session. So if you are in London register now, if not no worries since the event will be filmed and I'll post the link for the online video once SkillsMatter uploads it....

If you are using JSF&Spring and decided upgrading to JSF 2.0, one thing you would¬†probably like to have is the JSF 2.0's built-in viewscope. Core Spring doesn't provide this scope as it is more specific to JSF. No worries, using Spring's custom scope feature it is straightforward to port JSF 2.0's viewscope as a Spring bean scope. [crayon-594c5cd837b32721735676/] And register this scope in Spring configuration; [crayon-594c5cd837b35650177545/]   That's it, now you can use ViewScope for JSF beans that are managed by...

I'm glad to announce that PrimeFaces 1.0.0 and 2.0.0 are released. This release promotes PrimeFaces to production ready status, add first class JSF 2.0 support, contains over 100 issue fixes, features 6 new components and adds various enhancements. Here's the list of significant changes. New component: Schedule New component: ScheduleEventDialog New component: ImageCompare New component: GraphicText New component: NotificationBar New component: TreeNode Partial View Processing (eg. Validation,Model Update) for ajax/non-ajax requests DataTable enhancements (Ajax data filtering, custom sorting, bug fixes) Tree enhancements (Customizable TreeNodes, built-in...

At the end of February I'll be speaking at two conferences with my "Next Generation Component Suite: PrimeFaces" talk. JSFDays/EJugDays 2010 - 23,25 Feb - Vienna Austria This will be my second time in Vienna. Back in 2008, I was there as a speaker with a "Component Library Showdown" talk, in 2009 I was supposed to do a "Security in JSF" presentation but had to cancel it for personal reasons. I'm looking forward to this year's conference to...