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

Peter Muir peter at bleepbleep.org.uk
Wed Oct 17 18:43:08 EDT 2007


  User: pmuir   
  Date: 07/10/17 18:43:08

  Modified:    examples/hibernate2/resources-websphere61/WEB-INF  
                        components.xml web.xml
  Log:
  JBSEAM-2030
  
  Revision  Changes    Path
  1.2       +6 -1      jboss-seam/examples/hibernate2/resources-websphere61/WEB-INF/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/resources-websphere61/WEB-INF/components.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- components.xml	9 Jul 2007 04:32:44 -0000	1.1
  +++ components.xml	17 Oct 2007 22:43:08 -0000	1.2
  @@ -3,10 +3,12 @@
               xmlns:core="http://jboss.com/products/seam/core"
               xmlns:persistence="http://jboss.com/products/seam/persistence"
               xmlns:security="http://jboss.com/products/seam/security"
  +            xmlns:web="http://jboss.com/products/seam/web"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation=
                   "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd 
                    http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd 
  +                 http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd 
                    http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
                    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
   
  @@ -23,4 +25,7 @@
                         session-factory-jndi-name="bookingDatabase"/>
       
       <security:identity authenticate-method="#{authenticator.authenticate}"/>
  +    
  +    <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter --> 
  +    <web:ajax4jsf-filter disabled="true" />
   </components>
  
  
  
  1.6       +15 -0     jboss-seam/examples/hibernate2/resources-websphere61/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/hibernate2/resources-websphere61/WEB-INF/web.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- web.xml	23 Sep 2007 17:57:35 -0000	1.5
  +++ web.xml	17 Oct 2007 22:43:08 -0000	1.6
  @@ -5,6 +5,21 @@
            xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                                http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
           
  +    <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
  +    <filter> 
  +        <display-name>RichFaces Filter</display-name>
  +        <filter-name>richfaces</filter-name> 
  +        <filter-class>org.ajax4jsf.Filter</filter-class> 
  +    </filter> 
  +
  +    <filter-mapping> 
  +        <filter-name>richfaces</filter-name> 
  +        <servlet-name>Faces Servlet</servlet-name>
  +        <dispatcher>REQUEST</dispatcher>
  +        <dispatcher>FORWARD</dispatcher>
  +        <dispatcher>INCLUDE</dispatcher>
  +    </filter-mapping>    
  +    
       <context-param>
         <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>  
         <param-value>com.sun.facelets.FaceletViewHandler</param-value>
  
  
  



More information about the jboss-cvs-commits mailing list