myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject cvs commit: incubator-myfaces/conf/blank web.xml
Date Thu, 24 Mar 2005 10:25:40 GMT
mmarinschek    2005/03/24 02:25:40

  Modified:    conf/blank web.xml
  Log:
  fixed problem with myfaces-blank application
  
  Revision  Changes    Path
  1.2       +18 -1     incubator-myfaces/conf/blank/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/conf/blank/web.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- web.xml	22 Feb 2005 17:57:50 -0000	1.1
  +++ web.xml	24 Mar 2005 10:25:40 -0000	1.2
  @@ -34,7 +34,7 @@
       <context-param>
           <param-name>javax.faces.CONFIG_FILES</param-name>
           <param-value>
  -            /WEB-INF/blank-faces-config.xml
  +            /WEB-INF/examples-config.xml
           </param-value>
           <description>
               Comma separated list of URIs of (additional) faces config files.
  @@ -77,6 +77,23 @@
           </description>
       </context-param>
   
  +    <context-param>
  +        <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
  +        <param-value>false</param-value>
  +    </context-param>
  +
  +    <context-param>
  +        <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
  +        <param-value>true</param-value>
  +        <description>
  +            If true, a javascript function will be rendered that is able to restore the
  +            former vertical scroll on every request. Convenient feature if you have pages
  +            with long lists and you do not want the browser page to always jump to the
top
  +            if you trigger a link or button action that stays on the same page.
  +            Default: "false"
  +        </description>
  +    </context-param>
  +
       <!-- Listener, that does all the startup work (configuration, init). -->
       <listener>
           <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
  
  
  

Mime
View raw message