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

Unable to save or reset portlet preferences with jsf1-portlet

    Details

      Description

      The original commit of the PortletPreferencesBackingBean.java class was OK in that the action listener method signatures looked like the following:

      public void reset(ActionEvent actionEvent) {
          ...
      }
      public void reset(ActionEvent actionEvent) {
          ...
      }
      

      ... BUT a subsequent commit (that happened on the same day) removed the javax.faces.event.ActionEvent argument:

      public void reset() {
          ...
      }
      public void reset() {
          ...
      }
      

      This caused a regression such that the "Save" and "Reset" buttons stopped working because Mojarra was unable to find the action listener methods on the beans.

      NOTE: JSF 2.x has a feature such that action listeners do not require the javax.faces.event.ActionEvent argument.

        Attachments

          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.4-ga5
                liferay-faces-2.2.4-ga5