6 Replies Latest reply on Mar 17, 2008 7:27 PM by Jay Balunas

    RichFaces Javascript files not found

    Bill Levitt Newbie

      Hi,


      Whenever I use a richfaces component on a page, none of the corresponding a4j/richfaces javscript files are loaded by the browser. It's as if the RichFaces Ajax filter isn't installed. My web.xml is:




        <listener>
          <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
        </listener>
      
        <filter>
          <filter-name>Seam Filter</filter-name>
          <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
        </filter>
      
        <filter-mapping>
          <filter-name>Seam Filter</filter-name>
          <url-pattern>/*</url-pattern>
        </filter-mapping>
      
        <servlet>
          <servlet-name>Seam Resource Servlet</servlet-name>
          <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
        </servlet>
      
        <servlet-mapping>
          <servlet-name>Seam Resource Servlet</servlet-name>
          <url-pattern>/seam/resource/*</url-pattern>
        </servlet-mapping>
      
        <!-- JSF and Facelets -->
      
        <context-param>
          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
          <param-value>.xhtml</param-value>
        </context-param>
      
        <context-param>
          <param-name>facelets.DEVELOPMENT</param-name>
          <param-value>true</param-value>
        </context-param>
      
       <!-- <context-param>
           <param-name>com.sun.faces.expressionFactory</param-name>
           <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
        </context-param> -->
      
        <context-param>
             <param-name>org.richfaces.SKIN</param-name>
          <param-value>blueSky</param-value>
        </context-param>
          
        <context-param>
           <param-name>com.sun.faces.displayConfiguration</param-name>
           <param-value>true</param-value>
        </context-param>      
      
      <context-param>
          <param-name>org.jboss.seam.core.init.debug</param-name>
          <param-value>true</param-value>
      </context-param>
      
        <!-- Faces Servlet -->
      
        <servlet>
          <servlet-name>Faces Servlet</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          <load-on-startup>1</load-on-startup>
        </servlet>
      
        <servlet-mapping>
          <servlet-name>Faces Servlet</servlet-name>
          <url-pattern>*.seam</url-pattern>
        </servlet-mapping>
       
        <ejb-local-ref>
          <ejb-ref-name>expressionbuilder/MemberSearchAction</ejb-ref-name>
          <ejb-ref-type>Session</ejb-ref-type>
           <local-home></local-home>
          <local>com.bbh.expressionbuilder.service.MemberSearch</local>
        </ejb-local-ref>
      
           <welcome-file-list>
                <welcome-file>index.html</welcome-file>
           </welcome-file-list>
      
        <session-config>
          <session-timeout>8</session-timeout> 
        </session-config> 
      </web-app>



      What am I missing? Thank you in advance for any help.