Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.1.1
-
None
-
None
Description
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)
{
Attachments
Issue Links
- depends upon
-
TOMAHAWK-168 Tomahawk not support PortletContext and form with 'multipart/form-data'
- Closed
- is part of
-
MYFACES-434 MyFaces's Portlet enhancement
- Closed