Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-166

Current implementation of inputFileUpload not support PortletContext

    XMLWordPrintableJSON

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

          Activity

            People

              lu4242 Leonardo Uribe
              serg_main@yahoo.com Sergio Lissner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: