struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4701) Can no longer clear parameter on a <s:url> tag.
Date Sat, 12 Nov 2016 17:27:58 GMT

    [ https://issues.apache.org/jira/browse/WW-4701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15659970#comment-15659970
] 

Hudson commented on WW-4701:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-JDK7-master #552 (See [https://builds.apache.org/job/Struts-JDK7-master/552/])
WW-4701 Drop parameter if not defined (lukaszlenart: rev 986b43f3147c73611fdb3956fdbd4fe01a06e550)
* (edit) core/src/main/java/org/apache/struts2/components/Param.java


> 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
>            Assignee: Lukasz Lenart
>             Fix For: 2.5.6
>
>
> 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)

Mime
View raw message