Random Thoughts

Raj Rajendran’s Blog

RichFaces

There were a couple of times RichFaces was mentioned in some JavaOne sessions on JSF, so I decided to take a quick look at it and try it out. The Online demo looked impressive, there are some really cool AJAX components like Drag n Drop, Auto Complete, Ajaxed Tabbed pane, Tree etc. Very quickly I was able to get the demo running in Sybase EAServer 6.0.1

Ofcourse, from my experience before, there are a couple of hacks to make it work in EAServer. The load-on-startup for the Faces Servlet had to be set to 0 in web.xml.

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>

This is because, EAServer calls servlet init() before the ServletContextInitializer. Not an EAServer bug, this is in Servlet 2.3 spec.

In a few minutes, I was able to use these RichFaces components in my web app. Great job Exadel, you rock.

June 21, 2007 - Posted by Raj | JSF | | 2 Comments

2 Comments »

  1. Raj

    Did you try to do anything beyond the basic demos with RichFaces? I’ve been trying to use RichFaces in a JSF/Seam project with mixed success.

    Comment by Bernard Farrell | July 25, 2007

  2. Bernard,
    I am currently developing using RichFaces in my JSF+Facelets+Spring+iBatis and fortunately have no major hiccups until now.

    Comment by Raj | July 25, 2007


Leave a comment