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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.5
    • 2.5.8
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: