I'm trying to use t:saveState to save a bean class. I may have something in MyFaces configured wrong. It seems that I'm getting a new bean for each request. I was trying to troubleshoot, when I saw this in my log file:
2006-07-31 08:12:01,876 WARN  org.apache.myfaces.renderkit.html.util.DefaultAddResource  - MyFaces special _javascript_ could not be retrieved from request-map.
Can anyone point out why this may have occurred, and what may be missing from my configuration? Here is a dump of the myfaces specific elements from my web.xml:

    <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>20m</param-value>
            <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                10k - 10 KB
                10m - 10 MB
                1g - 1 GB
            </description>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
Thanks...

Frank Russo
Senior Developer
FX Alliance, LLC

Reply via email to