1 Reply Latest reply on Apr 4, 2012 5:49 AM by healeyb

    RichFaces not defined

    sureshtechspot

      Hi,

       

      I am using  below version and technologies in my project.

       

      jsf-impl-1.2

      jsf-facelets 1.1.15

      richfaces-api-3.3.3.Final

      richfaces-impl-3.3.3.Final

      richfaces-ui-3.3.3.Final

       

      My Page has the below code,

       

      <html xmlns="http://www.w3.org/1999/xhtml"

            xmlns:ui="http://java.sun.com/jsf/facelets"

            xmlns:h="http://java.sun.com/jsf/html"

            xmlns:f="http://java.sun.com/jsf/core"

            xmlns:a4j="http://richfaces.org/a4j"

            xmlns:rich="http://richfaces.org/rich">

       

          <head>

          </head>

          <f:view>

              <body>

         

                  <h:form id="componenets">

                 

                      <table>

                      <tr>

                          <td>

                              <rich:calendar id="firstDate" popup="true" value=""/>

                          </td>

                      </tr>

                      </table>

                     

                  </h:form>

             

              </body>

      </f:view>

      </html>

       

      After Loading of the page if I opne Error console in FireFox 11.0 I am getting "RichFaces is not defined" .  I have verified my web.xml entries and seearched in the forum also. In RichFaces 4,  forum suggestes including h:head tag in the page. But In jsf 1.2 + richfaces 3.3.3.Final , what need to do to resolve this issue.

        • 1. Re: RichFaces not defined
          healeyb

          Hi, it was a long time ago that I used jsf 1.2, but I had a similar problem with jsf 2 / rf4 which was solved by adding

          <h:outputScript library="javax.faces" name="jsf.js"/> as the first line inside <h:head>. A bit of a long shot but all I

          can think of, all the best.

           

          Regards,

          Brendan.