[
https://issues.jboss.org/browse/RF-10928?page=com.atlassian.jira.plugin.s...
]
Nick Belaevski edited comment on RF-10928 at 4/29/11 2:01 PM:
--------------------------------------------------------------
I did the following:
1) Took tomahawk-examples 1.1.10 for JSF 2.0
2) Added init parameter to web.xml:
{noformat}
<context-param>
<param-name>org.apache.myfaces.DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER</param-name>
<param-value>false</param-value>
</context-param>{noformat}
3) Removed ExtensionsFilter mappings
4) Switched off check for ExtensionsFilter:
{noformat}
<context-param>
<description>
A very common problem in configuring MyFaces-web-applications
is that the Extensions-Filter is not configured at all
or improperly configured. This parameter will check for a properly
configured Extensions-Filter if it is needed by the web-app.
In most cases this check will work just fine, there might be cases
where an internal forward will bypass the Extensions-Filter and the check
will not work. If this is the case, you can disable the check by setting
this parameter to false.
</description>
<param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
<param-value>false</param-value>
</context-param>{noformat}
After those changes both RichFaces & Tomahawk uploads work well.
was (Author: nbelaevski):
I did the following:
1) Took tomahawk-examples 1.1.10 for JSF 2.0
2) Added init parameter to web.xml:
{noformat}
<context-param>
<param-name>org.apache.myfaces.DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER</param-name>
<param-value>false</param-value>
</context-param>{noformat}
3) Changed ExtensionsFilter mapping to the only:
{noformat} <filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/extensionResource/*</url-pattern>
</filter-mapping>
{noformat}
After those changes both RichFaces & Tomahawk uploads work well.
rileUpload: MyFaces extension filter compatibility question.
-------------------------------------------------------------
Key: RF-10928
URL:
https://issues.jboss.org/browse/RF-10928
Project: RichFaces
Issue Type: Task
Security Level: Public(Everyone can see)
Components: compatibility, component-input
Affects Versions: 4.0.0.Final
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Priority: Critical
Labels: tran
Fix For: 4.1.0.Milestone1
Attachments: MyFacesExtensionsExclusionsFilter.java
that problem should be investigated and documented as could be not trivial for migration.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira