Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2211

Add "portletMode" parameter to PortletActionRedirectResult

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Plugin - Portlet
    • None

    Description

      Add "portletMode" parameter to PortletActionRedirectResult so one can switch to a different portlet mode in when dispatching to the render phase.

      Example:

      <action name="index" class="com.myportlet.UpdateNameAction">
      <result type="redirectAction">
      <param name="actionName">index</param>
      <param name="portletMode">view</param>
      </result>
      <result name="input">/WEB-INF/jsp/edit/index.jsp</result>
      </action>

      Attachments

        Activity

          People

            nilsga Nils-Helge Garli
            nilsga Nils-Helge Garli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: