[jboss-cvs] jboss-seam/seam-gen/resources/WEB-INF ...

Gavin King gavin.king at jboss.com
Thu Nov 2 17:34:20 EST 2006


  User: gavin   
  Date: 06/11/02 17:34:20

  Modified:    seam-gen/resources/WEB-INF    faces-config.xml web.xml
  Added:       seam-gen/resources/WEB-INF    navigation.xml
  Log:
  seam-gen fixes and improvements
  
  Revision  Changes    Path
  1.2       +0 -15     jboss-seam/seam-gen/resources/WEB-INF/faces-config.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: faces-config.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/resources/WEB-INF/faces-config.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- faces-config.xml	28 Oct 2006 17:56:05 -0000	1.1
  +++ faces-config.xml	2 Nov 2006 22:34:20 -0000	1.2
  @@ -22,19 +22,4 @@
       </lifecycle>
       -->
   
  -  <application>
  -    <message-bundle>messages</message-bundle>
  -    <locale-config>
  -      <default-locale>en</default-locale>
  -      <supported-locale>en</supported-locale>
  -    </locale-config>
  -  </application>
  -  
  -  <navigation-rule>
  -    <navigation-case>
  -      <from-outcome>home</from-outcome>
  -      <to-view-id>/home.xhtml</to-view-id>
  -      <redirect />
  -    </navigation-case>
  -  </navigation-rule>
   </faces-config>
  
  
  
  1.2       +7 -1      jboss-seam/seam-gen/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/seam-gen/resources/WEB-INF/web.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- web.xml	28 Oct 2006 17:56:05 -0000	1.1
  +++ web.xml	2 Nov 2006 22:34:20 -0000	1.2
  @@ -4,6 +4,11 @@
            xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
            version="2.4">
   
  +   <context-param>
  +      <param-name>javax.faces.CONFIG_FILES</param-name>
  +      <param-value>/WEB-INF/navigation.xml</param-value>
  +   </context-param>
  +
       <listener>
           <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
       </listener>
  @@ -58,4 +63,5 @@
           <servlet-name>Faces Servlet</servlet-name>
           <url-pattern>*.seam</url-pattern>
       </servlet-mapping>                 
  +                  
   </web-app>
  
  
  
  1.1      date: 2006/11/02 22:34:20;  author: gavin;  state: Exp;jboss-seam/seam-gen/resources/WEB-INF/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version='1.0' encoding='UTF-8'?>
  
  <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
  
  <faces-config>
  
    <navigation-rule>
      <navigation-case>
        <from-outcome>home</from-outcome>
        <to-view-id>/home.xhtml</to-view-id>
        <redirect />
      </navigation-case>
    </navigation-rule>
  
  </faces-config>
  
  
  



More information about the jboss-cvs-commits mailing list