Help

RichFaces 4.0.0.Alpha2 has been released, and the project is moving into a new phase! We had a lot to do on our way to this milestone, not only did we add new features, and components, but also made many general improvements. The core functionality, build system, and CDK features were redesigned to make framework development more convenient for RichFaces developers and community contributors.

Some highlights in RichFaces 4.0.0.ALPHA2:

  • Redesigned and improved Component Development Kit
  • Ajax core components set almost completely migrated.
  • Ajax request smart Queuing mechanism implemented
  • Rich Data Iteration components created
  • Skinning including standard control skinning feature was migrated.

You can download all the release artifacts at the RichFaces download page, and review the release notes. The distribution readme.txt in the richfaces-4.0.0.ALPHA2 file contains all you need to get started and integrate the library into your application. If you are using maven you can follow the wiki instructions: How to add RichFaces 4.X to Maven Based Project.

Our next release will be 4.0.0.Milestone1 (M1), and is the first of the time-boxed milestone releases. For M1 we will be releasing right around July 20th, with future milestone releases about every month, until we are ready for the final 4.0.0 releases.

Get Started Quick with our Archetype

This release also includes a maven archetype. This will create an very basic application that you can build from, and update as needed. For future releases we'll have more complex archetypes as well.

To use the archetype the first step it to follow the JBoss Maven Settings to get the repository set up in your settings.xml file. Then generate the archetype:

mvn archetype:generate -DarchetypeGroupId=org.richfaces.archetypes -DarchetypeArtifactId=richfaces-archetype-simpleapp -DarchetypeVersion=4.0.0.Alpha2 -DgroupId=my.group.id -DartifactId=new_project

For all the details check out our Getting Started Guide.

Components

As I said we have added many components, including rich:dataTable, and rich:extendedDataTable. The complete list of the available components, behaviors, tags, and functions are listed below. Every monthly milestone release we'll be adding to this list, and stabilizing what is already here. Give these a shot and let us know what you think, or if you run into any issues.

Core:

  • a4j:ajax
  • a4j:commandLink
  • a4j:commandButton
  • a4j:push
  • a4j:mediaOutput
  • a4j:status
  • a4j:jsFunction
  • a4j:log
  • a4j:outputPanel
  • a4j:poll
  • a4j:param
  • a4j:queue
  • a4j:attachQueue
  • a4j:repeat
  • a4j:region

Iteration:

  • rich:dataTable
  • rich:extendedDataTable
  • rich:subTable
  • rich:dataScroller
  • rich:subTableToggleControl
  • rich:columnGroup
  • rich:column

Miscellaneous:

  • rich:clientId
  • rich:element
  • rich:component
  • rich:isUserInRole
  • rich:findComponent
  • rich:componentControl
  • rich:hashParam

RichFaces Showcase Alpha2

We've also updated our showcase example to highlight the new components, and some of the new options. The readme.txt file in the <richfaces-4.0.0.Alpha2.zip>/examples/richfaces-showcase directory explains how to build and run the example. Hint maven clean package then deploy to your container :-)

All of the source is there for you to import into your favorite IDE, and explore. If you are using JBoss Tools it is easier than ever with the included m2eclipse plugin.

Component Development Kit

The 4.0 Component Development Kit (CDK) is also nearly complete! We use this to help us make our components, and you can create your own with it as well. We've created an initial CDK distribution, and have some initial archetype to kick start your component project. Keep an eye out for more details on using the CDK in our wiki, and blogs.

What's To Come

As I said above the project is entering a new phase, and we will have regular monthly milestone releases of 4.0, leading up to the final 4.0 release. This will allow everyone to see the progress being made, integrate components into your applications, etc…. More importantly I hope that we will see feedback, bugs, and contributions from those who can try it out. You can checkout the 4.0.0.Milestone1 jira for the latest of planned items.

How To Get Involved

As I've said before RichFaces is an open community project, and we always welcome people to get involved anyway they can!

With the 4.0.0.Alpha2 release we have made significant updates to the RichFaces build structure, and design of our project: RichFaces 4.0 Build Structure. This is going to make development of RichFaces easier for new people and let users work on new components in various sandbox areas. We'll be posting new wiki pages, and blogs outlining that in more details soon!

We also continue to have our weekly meeting via IRC which anyone can attend and participate, please see the Project Calendar and the Meeting Information page for more details, agendas, and minutes.

[Project Site] [Downloads] [JIRA] [User Space] [Development Space] [RichFaces Twitter]

12 comments:
 
15. Jun 2010, 18:02 CET | Link
gilad bar orion | bar.orion(AT)gmail.com

Congrats to the RF team! Indeed an highly anticipated release. Any thoughts about having an /online/ version of the showcase available? Thanks Gilad

ReplyQuote
 
15. Jun 2010, 18:25 CET | Link

Thanks! The team worked hard for a long time on this one, and we're excited to get to the Milestone releases.

We will have the RichFaces Showcase demo hosted for the 4.0.0.Milestone1 release! The demo is available in the distribution, but we are going to refine it a bit more, and then host it in July.

To build and deploy it, just take a quick look at the readme.txt file in the example directory.

 
17. Jun 2010, 10:55 CET | Link
Daniel Lichtenberger | daniel.lichtenberger(AT)gmail.com

Unfortunately building fails for the core-demo and the showcase because the parent POM is missing:

Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.richfaces:richfaces-parent' not found in repository: Unable to download the artifact from any repository org.richfaces:richfaces-parent:pom:7

Adding the JBoss repository (http://repository.jboss.org/maven2) didn't help either.

 
19. Jun 2010, 20:33 CET | Link
gilad bar orion | bar.orion(AT)gmail.com
Daniel, I was able to make it run under Maven2 after following http://community.jboss.org/wiki/MavenGettingStarted-Users
Indeed, running under Maven3 gives the error you've mentioned...

Gilad


 
22. Jun 2010, 01:11 CET | Link

It´s possible to include in Richfaces 4.0 M1 attribute declaration in rich.taglib.xml?

Thanks!

 
24. Jun 2010, 21:12 CET | Link
Jon

Same here... I had the same problem but was able to make it work after adding the JBoss repository to maven. Don't forget the activeProfiles node at the bottom of the XML file.

 
15. Jul 2010, 16:11 CET | Link

yeah the building fails for me as well ..

Cannot find parent: org.richfaces:richfaces-parent for project: org.richfaces.examples:core-demo:war:4.0.0.Alpha2 for project org.richfaces.examples:core-demo:war:4.0.0.Alpha2

And adding jboss repo also dint help .. :(

 
17. Aug 2010, 23:35 CET | Link
Naveen

This is the error I am getting (same error)

Do we have a soultion for this yet. I am usong maven 2.

Reason: Cannot find parent: org.richfaces:richfaces-parent for project: org.richfaces.examples:richf aces-showcase:war:4.0.0.20100715-M1 for project org.richfaces.examples:richfaces-showcase:war:4.0.0. 20100715-M1

 
17. Sep 2010, 17:16 CET | Link
rmc

I got this error to go away by creating the file: \userHome\.m2\settings.xml This provides an extra repository for maven. The old repositories do not contain the v4.0 richfaces

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <localRepository/>
  <interactiveMode/>
  <usePluginRegistry/>
  <offline/>
  <pluginGroups/>
  <servers/>
  <mirrors/>
  <proxies/>
  <profiles>
     <profile>
       <id>jboss-app-profile</id>
       <repositories>
         <repository>
            <releases>
               <enabled>true</enabled>
            </releases>
            <snapshots>
               <enabled>true</enabled>
               <updatePolicy>always</updatePolicy>
            </snapshots>
            <id>snapshots.jboss.org</id>
            <name>Snapshot Jboss Repository for Maven</name>
            <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
            <layout>default</layout>
         </repository>
         <repository>
            <releases>
               <enabled>true</enabled>
            </releases>
            <snapshots>
               <enabled>true</enabled>
               <updatePolicy>always</updatePolicy>
            </snapshots>
            <id>repository.jboss.com</id>
            <name>Jboss Repository for Maven</name>
            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
            <layout>default</layout>
         </repository>
      </repositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>jboss-app-profile</activeProfile>
  </activeProfiles>
</settings>
 
27. Sep 2010, 12:33 CET | Link
GAS

Thank you rmc, putting the settings.xml resolved!

Post Comment