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

Resource urls are not built correctly in struts2-portlet2-plugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Plugin - Portlet
    • Labels:
      None
    • Environment:

      struts2-core-2.1.0.jar struts2-portlet2-plugin.jar

      Description

      There is no 'resourceId' mentioned while building the resource URL using s:url tag.

      Consider using s:url tag with portletUrlType="resource". The 'resourceId' parameter is missing in the result URL.

      org.apache.struts2.portlet.util.PortletUrlHelper class has neither 'resourceId' parameter nor setResourceID() is called anywhere in the code.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vlimansky Vladimir Limansky
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: