Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2868

Ajax file upload fails when com.sun.faces.namespaceParameters is set to true

    Details

      Description

      Problem Background

      This issue exists in order to track JAVASERVERFACES-4120.

      Steps to Reproduce:

      1. Modify the demo/jsf-showcase-portlet/web.xml descriptor in the 4.x branch of liferay-faces-bridge-impl.git by un-commenting the following lines:

      	<!-- FACES-2868: Ajax file upload fails when com.sun.faces.namespaceParameters is set to true. -->
      	<!--
      	<context-param>
      		<param-name>com.sun.faces.namespaceParameters</param-name>
      		<param-value>true</param-value>
      	</context-param>
      	-->
      

      2. Rebuild and re-deploy the portlet to either Liferay Portal 7.0 or 6.2

      3. Visit the following URL:
      http://localhost:8080/web/guest/jsf-showcase/-/jsf-tag/h/inputfile/instant-ajax

      4. Choose a file to upload and click submit

      Expected Results:

      The file uploads and the filename is displayed in the list of uploaded files.

      Actual Results:

      The file does not upload and the filename is not displayed in the list of uploaded files.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                mojarra-2.2.14
                mojarra-2.3.0