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

Can no longer clear parameter on a <s:url> tag.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5
    • Fix Version/s: 2.5.8
    • Component/s: None
    • Labels:
      None

      Description

      Consider the following:

      <s:url action=“init” includeParams=“get”>
          <s:param name="param1" value="" />
      </s:url>
      

      Before 2.5.5, this would have removed “param1” from the generated url if it was present. (The evaluated value would have been null, and so Component.addParameter(name, value) would have removed the parameter).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                agreenfield Adam Greenfield
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: