[ 
http://issues.apache.org/jira/browse/MYFACES-1294?page=comments#action_12402405 
] 

Mario Ivankovits commented on MYFACES-1294:
-------------------------------------------

So are you sure the extension filter isnt called?
In the full stack trace, isnt there a hint to the ExtensionsFilter?

Remy told you to correctly delegate to the parent servletRequest:

So in your request wrapper:
    public Object getAttribute( String key ) {
        if (key==null) {
            throw new IllegalArgumentException("Call getAttribute() with
key==null");
        }

        return portletAttributes.get( key );
    }

for any !portletAttributes.containsKey(key) you should delegate to the wrapped 
instance.
If there is a break between your requestWrapper and the real request this might 
explain why my check for the DOFILTER_CALLED failes.

> Current logic of register extensionFilter not support portlet environment
> -------------------------------------------------------------------------
>
>          Key: MYFACES-1294
>          URL: http://issues.apache.org/jira/browse/MYFACES-1294
>      Project: MyFaces Core
>         Type: Bug

>   Components: Portlet_Support
>     Versions: 1.1.4-SNAPSHOT
>     Reporter: Serg Maslyukov (http://webmill.askmore.info)
>     Priority: Blocker

>
> Current logic of register extensionFilter not support portlet environment
> fiter mappings:
> <filter-mapping>
>     <filter-name>MyFacesExtensionsFilter</filter-name>
>     <servlet-name>Faces Servlet</servlet-name>
> </filter-mapping>
> <filter-mapping>
>     <filter-name>MyFacesExtensionsFilter</filter-name>
>     <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
> </filter-mapping>
> <filter-mapping>
>     <filter-name>MyFacesExtensionsFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
> </filter-mapping>
> not work in portlet environment

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to