You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Adam Greenfield (JIRA)" <ji...@apache.org> on 2016/10/25 16:54:58 UTC

[jira] [Created] (WW-4701) Can no longer clear parameter on a tag.

Adam Greenfield created WW-4701:
-----------------------------------

             Summary: Can no longer clear parameter on a <s:url> tag.
                 Key: WW-4701
                 URL: https://issues.apache.org/jira/browse/WW-4701
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.5.5
            Reporter: Adam Greenfield


Consider the following:

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

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).  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)