10 Replies Latest reply on Sep 21, 2007 12:41 PM by David Phillips

    Installation Help -- JavaScript

    David Phillips Newbie

      Disclaimer: I know this is a pitiful newbie question, but I can't find the answer on the forum or in the install instructions. Here it is: I've installed RichFaces into my project, including the web.xml filter, but when I fire up my app, none of the javascript libraries are being included on my page. That is, when I try to create a tree component (the reason for which I downloaded RichFaces), I get a "Tree is not defined" javascript error when hitting my page. I tried the basic echo page mentioned in the install guide, and it renders the "Simple Echo" tag and input box as expected, but the onkeyup event throws an "A4J is not defined" javascript error.

      The relevant portion of the web.xml is:

      <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
       <filter>
       <display-name>RichFaces Filter</display-name>
       <filter-name>richfaces</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>richfaces</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      


      RichFaces tags are being rendered, but the javascript libraries are not being included. Can anyone see what I'm doing wrong?