myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Kitain <Roger.Kit...@Sun.COM>
Subject Mysterious Entries in Tomahawk 1.1.9 web.xml
Date Mon, 08 Feb 2010 18:00:29 GMT
Hello -

When debugging an issue with Tomahawk 1.1.9 and Mojarra I discovered the 
following entries in the
WEB-INF/web.xml file (extracted from myfaces-example-simple-1.1.9.war) :

    <context-param>
      <description>
          This parameter enables partial state saving.
      </description>
      <param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
      <param-value>false</param-value>
    </context-param>

    <context-param>
      <description>
          If true every time a page is rendered, the corresponding JSP 
is dispatched also.
          This is very usefull if Scriptlets are used inside the JSP.
      </description>
      
<param-name>javax.faces.PARTIAL_STATE_SAVING_DISPATCH_EVERY_TIME</param-name>
      <param-value>true</param-value>
    </context-param>

The "javax.faces" namespace is reserved and should not be used for 
application specific entries like this.
As you know the "javax.faces.PARTIAL_STATE_SAVING" param is available to 
enable/disable
partial state saving.

Thanks,
Roger


Mime
View raw message