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

Added "config-jsp" init parameter to MVCPortlet

    Details

      Description

      Plugin portlets which extend the MVCPortlet can now specify a default configuration JSP using the "config-jsp" init parameter. The new parameter can be used to replace something similar to the following in a ConfigurationActionImpl:

      public String render(PortletConfig portletConfig, RenderRequest renderRequest, RenderResponse renderResponse) throws Exception

      { return "/page_menu/configuration.jsp"; }

      with the following in portlet.xml:

      <init-param>
      <name>config-jsp</name>
      <value>/page_menu/configuration.jsp</value>
      </init-param>

        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)