[jboss-cvs] jboss-seam/examples/contactlist/resources/WEB-INF ...

Gavin King gavin.king at jboss.com
Tue Jun 26 15:58:39 EDT 2007


  User: gavin   
  Date: 07/06/26 15:58:39

  Modified:    examples/contactlist/resources/WEB-INF  web.xml
  Log:
  get rid of client-side JSF state saving in examples
  
  Revision  Changes    Path
  1.12      +7 -10     jboss-seam/examples/contactlist/resources/WEB-INF/web.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: web.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/contactlist/resources/WEB-INF/web.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- web.xml	3 Apr 2007 18:42:52 -0000	1.11
  +++ web.xml	26 Jun 2007 19:58:39 -0000	1.12
  @@ -5,6 +5,8 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
   
  +    <display-name>Seam Contact List Example</display-name>
  +
       <!-- Seam -->
       
       <listener>
  @@ -33,28 +35,23 @@
           <param-value>false</param-value>
       </context-param>
   
  -    <listener>
  -        <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
  -    </listener> 
  -    
  -    <context-param>
  -        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  -        <param-value>client</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>
       
  -    <!-- Faces Servlet Mapping -->
       <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>10</session-timeout> 
       </session-config> 
  +    
   </web-app>
  
  
  



More information about the jboss-cvs-commits mailing list