Brian Leathem

3 minute read

RichFaces

I am happy to announce that the first candidate release of RichFaces 4.2.3 (4.2.3.CR1) is now available. This is purely a bug-fix release, with a focus on compatibility between RichFaces and the JBoss Portlet Bridge.

div(alert alert-info). To try out this release: You can download the distribution directly, or for maven users, increment the RichFaces version in your pom.xml to 4.2.3.CR1. For more information on setting up a RichFaces 4 application, refer to our getting started guide.

Portlet Bridge Fixes

RichFaces aims to be a container agnostic project, working in Servlet containers, Java EE implementations, and Portals, all from multiple vendors. Of course keeping up with bugs and fixes across all these deployment environments is a lot of work, so we naturally tend to focus our efforts on certain specific environments. As such, nothing makes us happier then receiving github pull requests addressing compatibility issues between RichFaces and one of these deployment containers.

This is precisely what Ken Finnigan of the Portal Bridge team has done, identifying and resolving a number of issues with RichFaces when running in a Portlet environment. Unfortunately a number of servlet specific references leaked through in some of our implementations, but Ken has done an excellent job rounding these up, and replacing them with the appropriate JSF abstraction, ensuring RichFaces components work equally well in servlet and portlet environments. Great job Ken!

Community Contributions

I’d also like to call out , Bernard Labno, Christian Kaltepoth, and Luca Nardelli for the bugs they fixed and submitted as github pull requests. RichFaces is a very much a community project, and it’s in part contributions like these that keep the project healthy and moving forward. Thanks guys – and keep those pull requests coming!

Release Notes:

Specific issues resolved with this release include:

Bug

  • [RF-10758] - Input fields in popupPanel lose focus

  • [RF-10980] - Impossible to set tabindex of input inside rich:popupPanel

  • [RF-11051] - a4j.version does not work

  • [RF-11104] - rich:inputNumberSlider slider position is affected by css position attribute of containing element

  • [RF-12113] - rich:inputNumberSpinner minValue and maxValue being ignored after second request

  • [RF-12114] - Richfaces 4.2 rich:autocomplete don’t fire ajax on blur event

  • [RF-12221] - rich:orderingList: fix VDL-DOC of listHeight,maxListHeight, minListHeight,listWidth

  • [RF-12256] - DragAndDrop + position: absolute results in broken positioning

  • [RF-12273] - rich:fileUpload does not work in portlets because it does not utilize javax.faces.encodedURL for the XmlHttpRequest URL

  • [RF-12424] - Showcase contains Servlet specific code

  • [RF-12425] - Showcase fails to load SyntaxHighlighter scripts when Require.js is present

  • [RF-12476] - Resource Name in mapping for two menu images is incorrect

Enhancement

  • [RF-12343] - Problem when saving form with rich picklist inside composite component

What’s next?

Be sure to take this candidate release for a spin, and report back any regressions. We are expecting the 4.2.3.Final release to simply be a re-tag of the CR1 release, barring any unforeseen blockers.

In the mean time we are hard at work on our the 4.3 release train, and are working on having a 4.3.0.M2 release available hot-on-the-heels of this 4.2.3 release.