1 Reply Latest reply on Mar 9, 2010 9:44 AM by swd847

    JSF + Seam not working....

    deanhiller2000

      I have this for my url params...




          <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>*.seam</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>     
          
          <!-- 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>*.jsf</url-pattern>        
          </servlet-mapping>
          
          <!-- JSF parameters -->
          
          <context-param>        
            <param-name>javax.faces.DEFAULT_SUFFIX</param-name>        
            <param-value>.xhtml</param-value>    
          </context-param>



      but when I do this, and go to the error.seam for example, it loads my error.xhtml into the web page instead of putting it in the template and sending the whole page back.  When I go to error.jsf, it correctly uses facelets to put the page into the template and send all the html back using the same error.xhtml file on my filesystem.  Why is this not working?


      thanks,
      Dean