[jboss-user] [JBoss Seam] - Re: richfaces3.0.1 is not fit for seam?

gringalet do-not-reply at jboss.com
Sat Aug 25 08:22:13 EDT 2007


and my web.xml like this:
<?xml version="1.0" encoding="UTF-8"?>
  | <web-app version="2.4" 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">
  |    <display-name>hello</display-name>
  |    <context-param>     
  |       <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>     
  |       <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>   
  |     </context-param>  
  | 	<context-param>
  |         <param-name>org.ajax4jsf.SKIN</param-name>
  |         <param-value>myskin</param-value>
  | 	</context-param>
  | 	 <context-param>
  | 	  <param-name>javax.faces.CONFIG_FILES</param-name>
  | 	  <param-value>/WEB-INF/faces-config.xml</param-value>
  | 	 </context-param>
  |   	<context-param>
  |   		<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
  |   		<param-value>false</param-value>
  |  	</context-param>
  |  	<context-param>
  |  		 <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  |  		 <param-value>server</param-value>
  |  	</context-param>
  |     
  |     <!-- Seam -->
  |     <listener>
  |         <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
  |     </listener>
  |     <filter>
  |         <filter-name>Seam Exception Filter</filter-name>
  |         <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
  |     </filter>
  |     <filter-mapping>
  |         <filter-name>Seam Exception Filter</filter-name>
  |         <url-pattern>*.jsf</url-pattern>
  |     </filter-mapping>
  |     <!-- MyFaces -->
  |     <listener>
  |         <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
  |     </listener>
  | 	<!--ajax-->
  | 	<display-name>a4jEchoText</display-name>
  |     <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>REQUEST</dispatcher>
  | 		<dispatcher>FORWARD</dispatcher>
  | 		<dispatcher>INCLUDE</dispatcher>
  | 	</filter-mapping>
  |     <filter-mapping>     
  |       <filter-name>ajax4jsf</filter-name>     
  |       <url-pattern>*.seam</url-pattern>   
  |     </filter-mapping>   
  |     
  |  	
  |  	<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>/faces/*</url-pattern>
  |  	</servlet-mapping>
  |  	<servlet-mapping>
  |  		<servlet-name>Faces Servlet</servlet-name>
  |   		<url-pattern>*.jsf</url-pattern>
  |  	</servlet-mapping>
  |  	 <login-config>
  |   <auth-method>BASIC</auth-method>
  |  </login-config>
  | 	<session-config>
  |         <session-timeout>10</session-timeout> 
  |     </session-config>    
  | </web-app>
  | 
  | 
  | 

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

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



More information about the jboss-user mailing list