Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-4032

Framework to simplify ConfigurationActionImpl classes

    Details

      Description

      Many of the ConfigurationActionImpl classes in the portal simply takes the options in the portlet configuration screen and saves it as a portlet preference. To simplify this process, if the name of the form field is of the form:

      <portlet:namespace />preferences-{$preferenceName}-

      any class that implements com.liferay.portal.kernel.portlet.BaseConfigurationAction will automatically save input to the portlet preferences. For example, a form field with the name

      <portlet:namespace />preferences-favoriteColor-

      will automatically save the value of the field to a PortletPreferences with the name "favoriteColor".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.kong Samuel Kong
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.0 EE SP1 (6.0.11)