The RichFaces team is very happy to announce that the first ALPHA release of RichFaces 4.0.0 with JSF 2.0 support has been released. This first release will give all of you early adopters and fans out there a chance to play with the project. Any feedback, issues, comments, or patches are welcome as always.
You can download all the release artifacts at the RichFaces Download page and the readme.txt in the richfaces-4.0.0.ALPHA1 distribution contains all you need to get started and integrate the library into your application. You can also check out the Release Notes for even more details.
There are eight components completed for this first release. We will be adding more for each milestone including all the rich components.
- a4j:ajax (formally a4j:support)
Most function like their cousins in the 3.3.X series ( for now ), and the RichFaces demo application ( new name ideas welcome ) show them all.
We wanted a way for everyone to get started early with RichFaces 4.0 and try out the components so we created this component gallery example. The readme.txt file in the richfaces-examples-4.0.0.ALPHA1 download will have all the details, but here are steps to you started.
This demo application can be built and deployed to servlet containers and some JEE5 servers. For convenience we include 2 pre-built war files, one for each type of server. Note for testing we used both tomcat 6 and JBoss AS 5.1, and more will be added to this list.
You can also build the example fresh from the included source files. However note that we are currently building from the SNAPSHOT versions of the JSF 2 Mojarra project and this can sometimes cause issues. The build requires Maven 2.1.0 and can be built and ran 3 different ways:
Servlet container compatible war:
Then deploy to Tomcat 6.x or just run using maven and jetty with:
JEE5 compatible war:
mvn install -P jee5
Then deploy to JBoss AS 5.x/4.2.x or some other jee5 servers. Don't forget to update your server's JSF libraries to the latest snapshots of JSF 2.0 Mojarra project. For JBoss AS you can follow these directions: Upgrade JBoss AS to JSF2
Anyway you deploy the example you can access it with this link http://localhost:8080/richfaces-demo
Since we build using maven it is very easy to integrate with your favorite IDE. Use the standard maven commands for your IDE.
Then just import the project into your IDE and you can start playing!
This release also includes a preview of the 4.0 Component Development Kit (CDK). This will make creating rich JSF components a snap with helpful tools, maven archetypes, and more. Right now it is in a very early development state, and can be used to create very basic components. Follow these instructions for ALPHA1 CDK: RichFaces 4.0.0.ALPHA1 CDK Tutorial ( Watch this page for updates ).
We are planning another ALPHA release at the end of October, and regular BETAs to follow that. Each milestone will have more features and components. We will be discussing more details in the coming weeks and be updating both the wiki and jira to represent the changes - so keep an eye out if you are interested.
RichFaces is an open community project and we want to encourage anyone interested to get involved. That can be as simple as letting us know when you find a problem or answering questions on the forums, to submitting patches and helping to define direction and features.