You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Roger Kitain <Ro...@Sun.COM> on 2010/02/08 19:00:29 UTC

Mysterious Entries in Tomahawk 1.1.9 web.xml

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