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

Refactor bridge:inputFile to use new Java packaging scheme (Includes API Change)

    Details

      Description

      This task has various sub-tasks, including:

      API Changes

      • Use the new FacesBuilder code generator to create a new com.liferay.faces.bridge.component.inputfile package with new InputFile component class
      • Remove the old com.liferay.faces.bridge.component.HtmlInputFile class

      Note that the API changes are considered to be minimal since the typical use case for referencing the HtmlInputFile class directly is only for JSP (Non-Facelet) type portlets, such as the jsf2-jsp-portlet demo.

      Other Tasks

      • For the 4.2/4.1 branches, extend from JSF 2.2 javax.faces.component.html.HtmlInputFile (h:inputFile component)
      • For all other branches, extend from JSF 1.x javax.faces.component.html.HtmlInputText (h:inputText component)
      • Refactor the com.liferay.faces.demos.ApplicantBackingBean class in the jsf2-jsp-portlet so that it injects the new InputFile component class rather than the old HtmlInputFile class, and stop using the deprecated HtmlInputFile.getUploadedFile() method.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  liferay-faces-2.1.5-ga6
                  liferay-faces-2.2.5-ga6
                  liferay-faces-3.0.5-legacy-ga6
                  liferay-faces-3.0.5-ga6
                  liferay-faces-3.1.5-ga6
                  liferay-faces-3.2.5-ga6
                  liferay-faces-4.2.5-ga6