[jboss-user] [JBoss Seam] - Seam problems --> redirect to /faces/home.xhtml

dcshonda do-not-reply at jboss.com
Tue Dec 11 11:20:31 EST 2007


Hi, I have a problem with my application. I have done a seam portlet, with a rich:datatable, and it works fine...but, when I go to the next page of the datatable, my application leaves the JBoss Portal and redirect to /faces/home.xhtml, and I don´t have this file in faces directory. I don´t know why happen this? 

Sorry for my english.

This is my web.xml config:




  | <?xml version="1.0"?>
  | <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
  |          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
  |          version="2.4">
  | 
  |    <description>JbossPortalBuscadorIntervinientes</description>
  | 
  |    <context-param>
  |      <param-name>javax.portlet.faces.BridgeImplClass</param-name>
  |      <param-value>org.apache.myfaces.portlet.faces.bridge.BridgeImpl</param-value>
  |    </context-param>
  | 
  |    <!-- <context-param>
  |      <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  |      <param-value>org.ajax4jsf.portlet.application.FaceletPortletViewHandler</param-value>
  |     </context-param>
  |    <filter>
  |      <display-name>Ajax4jsf Filter</display-name>
  |      <filter-name>ajax4jsf</filter-name>
  |      <filter-class>org.ajax4jsf.Filter</filter-class>
  |     </filter>
  | 
  |     <filter-mapping>
  |      <filter-name>ajax4jsf</filter-name>
  |      <servlet-name>Faces Servlet</servlet-name>
  |      <dispatcher>FORWARD</dispatcher>
  |      <dispatcher>REQUEST</dispatcher>
  |      <dispatcher>INCLUDE</dispatcher>
  |     </filter-mapping>-->
  |     <!-- Seam -->
  | 
  |    <listener>
  |       <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
  |    </listener>
  | 
  | 
  |    <servlet>
  |       <servlet-name>Seam Resource Servlet</servlet-name>
  |       <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
  |    </servlet>
  | 
  |    <servlet-mapping>
  |       <servlet-name>Seam Resource Servlet</servlet-name>
  |       <url-pattern>/seam/resource/*</url-pattern>
  |    </servlet-mapping>
  | 
  | 
  |    <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>
  | 
  | 
  |    <!-- JSF -->
  |    <!--<context-param>
  |      <param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
  |      <param-value>NEKO,TIDY,NONE</param-value>
  |    </context-param>-->
  |    <!--<context-param>
  |      <param-name>org.ajax4jsf.xmlparser.TIDY</param-name>
  |      <param-value>/pages/repeater.xhtml,/pages/tabs.xhtml</param-value>
  |    </context-param>-->
  | 
  |    <context-param>
  |       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  |       <param-value>server</param-value>
  |    </context-param>
  | 
  |    <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>false</param-value>
  |    </context-param>
  | 
  |    <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>
  | 
  |    <listener>
  |       <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
  |    </listener>
  | 
  |    <session-config>
  |       <session-timeout>30</session-timeout>
  |    </session-config>
  | 
  |    <welcome-file-list>
  |       <welcome-file>/faces/index.html</welcome-file>
  |    </welcome-file-list>
  | 
  | 
  | </web-app>
  | 

Anyone can help me? Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111997#4111997

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111997




More information about the jboss-user mailing list