8 Replies Latest reply on Jun 7, 2013 2:38 AM by Lotfi Mellouk

    RichFaces, JSF2.0 and JSR168 Portlets (WebSphere Portal 7): 'RichFaces' undefined

    Blade Runner Newbie

      Hi all!

       

      I'm trying to run a simple portlet project with JSF 2.0 and RichFaces on WebSphere Portal 7. The main page of my application contains just a <rich:calendar>. I can create the project in my development environment and deploy it in WPS but when I navigate to the page with the <rich:calendar> I get the folowing JavaScript error:

       

      Message: 'RichFaces' is undefined

       

      It seems as if some javascripts components are not loaded.

       

      Here is my configuration:

      RAD v8.0.4

      WPS 7.0.0.1 CF9 on WAS 7.0.0.19.

      My WEB-INF/lib contains the following libraries:

          cssparser-0.9.5.jar

          guava-10.0.1.jar

          jsf20-portletbridge.jar

          sac-1.3.jar

          richfaces-components-api-4.1.0.20111111-CR1.jar

          richfaces-components-ui-4.1.0.20111111-CR1.jar

          richfaces-core-api-4.1.0.20111111-CR1.jar

          richfaces-core-impl-4.1.0.20111111-CR1.jar

      I've attached my web.xml, portlet.xml and faces-config.xml

       

      Is it possible run RichFaces with JSF 2.0 on Portlets? Anyone knows what is wrong in my configuration?

       

      thanks in advance