Top

Blog

PrimeFaces / Blog (Page 71)

I'm glad to announce that new versions of PrimeFaces are released, 1.0.1 and 2.0.2 releases are mainly for maintenance introducing a couple of new features. See the changelog for release information and visit downloads to get the latest releases. This release cycle is the Silence Before the Storm as now PrimeFaces team will focus on to new components, new features, more bug fixes, improved JSF 2.0 support, enhanced ajax push support, portlet enhancements and many more....

I'm glad to announce the new release of PrimeFaces 1.0.1 and 2.0.1. This release cycle features 5 new components, 110+ issue fixes, major enhancements and maintenance on various components. 110+ Issues are fixed and closed New component: Dashboard New component: ProgressBar New component: MenuButton New component: Focus New component: ContextMenu Major enhancements to Schedule, Layout, Wizard, Panel and Menus Reimplementation of DataTable TouchFaces maintenance Security EL Extensions Maintenance on PPR Spring WebFlow Support See the full changelog of 1.0.1 and 2.0.1 for detailed information. Binaries, sources and bundles are now available...

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-5a15762cc1324354370934/] 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...