RichFaces 4 Alpha 2 is now available, project template

The RichFaces team has made a major step toward RichFaces 4 by releasing Alpha 2 version. I’m hoping to see GA in September. Keep in mind that not all components have been migrated to version 4 yet. The components that are available right now are listed below.

Some highlights in RichFaces 4 Alpha 2:

  • 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

More information on this release from Jay Balunas. To download, setup Maven project, and release notes click here.

If you want to get started very quickly, download this project template with RichFaces 4 already configured. If you are using Eclipse, you can import the project as shown below. You can also just unzip the template and import the project with whatever tool you are using. The template was tested with Tomcat 6.

  1. In Eclipse, select File/Import/General/Existing Project into Workspace…
  2. Click ‘Select archive file’
  3. Click Browse… and point to the downloaded zip file
  4. Click Finish
  5. Run start.xhtml page, it has a very basic Ajax application.

Components available right now:

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

8 thoughts on “RichFaces 4 Alpha 2 is now available, project template

  1. Hi,

    I got your template working.

    “… Components available right now: …”

    Does this mean is not yet available.

    Because I get a “Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: panel” message

    Kind regards,
    Guus

  2. Hi,

    I have take download and imported in my workspace.

    Everything looks, am unable to use logging feature.

    Please help me.

    Is there anything am missing?

    Thanks
    Msm

  3. Hi,

    I have got work around.

    Removed following jars
    slf4j-api-1.5.8.jar
    slf4j-log4j12-1.5.8.jar
    log4j-1.2.16.jar

    And added following jars in lib

    slf4j-api-1.6.1.jar
    logback-classic-0.9.29.jar
    logback-core-0.9.29.jar

    and added
    logback.xml inside WebContent folder with following content

    myApp.log

    ?te %level [%thread] %logger{10} [%file:%line] %msg%n

    %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} – %msg%n

  4. Hi,

    I have been trying your template on a Tomcat 6 without success. There are no error messages on the log but it does not display anything on the browser. It seems Tomcat can’t digest the richfaces tags.

    However, your template with Richfaces 3 is working fine. Can you help me with the richfaces 4 template?

    Thanks in advance!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s