You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Serg Maslyukov (http://webmill.askmore.info) (JIRA)" <de...@myfaces.apache.org> on 2006/03/01 20:10:54 UTC
[jira] Commented: (TOMAHAWK-166) Current implementation of
inputFileUpload not support PortletContext
[ http://issues.apache.org/jira/browse/TOMAHAWK-166?page=comments#action_12368339 ]
Serg Maslyukov (http://webmill.askmore.info) commented on TOMAHAWK-166:
-----------------------------------------------------------------------
This bug depends on http://issues.apache.org/jira/browse/TOMAHAWK-168
> Current implementation of inputFileUpload not support PortletContext
> --------------------------------------------------------------------
>
> Key: TOMAHAWK-166
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-166
> Project: MyFaces Tomahawk
> Type: Improvement
> Components: File Upload
> Versions: 1.1.1
> Reporter: Serg Maslyukov (http://webmill.askmore.info)
> Priority: Blocker
>
> Current implementation of inputFileUpload not support PortletContext
> part code from HtmlFileUploadRenderer.java:
> public void decode(FacesContext facesContext, UIComponent uiComponent)
> {
> super.decode(facesContext, uiComponent); //check for NP
> //MultipartWrapper might have been wrapped again by one or more additional
> //Filters. We try to find the MultipartWrapper, but if a filter has wrapped
> //the ServletRequest with a class other than HttpServletRequestWrapper
> //this will fail.
> //todo: fix this to work in PortletRequest as well
> if(facesContext.getExternalContext().getRequest() instanceof ServletRequest)
> {
--
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