myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1294) Current logic of register extensionFilter not support portlet environment
Date Tue, 09 May 2006 18:10:06 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1294?page=comments#action_12378679 ] 

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

This exception happens if the request didnt pass the extensions filter. This isnt checked
by parsing the web.xml, but a simple request property will be checked. The extensionsFilter
sets this request property.

if (!extctx.getRequestMap().containsKey(ExtensionsFilter.DOFILTER_CALLED))
{
    throwExtensionsFilterMissing("JSF mapping missing. JSF pages not covered.");
}

Any idea why this wont work?
The only case is, that the request is somehow different scoped in an portlet environment.

When you disable the check (configure init-param org.apache.myfaces.CHECK_EXTENSIONS_FILTER
to false) will the myfaces portlet work?
E.g. the inputCalendar or tree2 or the dummyForm stuff?

> 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


Mime
View raw message