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

Rene Gielen commented on WW-4018:
---------------------------------

The parse attribute looks redundant to me, the ${} syntax makes it clearly an 
expression
                
> Revert parse param back
> -----------------------
>
>                 Key: WW-4018
>                 URL: https://issues.apache.org/jira/browse/WW-4018
>             Project: Struts 2
>          Issue Type: Sub-task
>          Components: XML Validators
>    Affects Versions: 2.3.12
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.13
>
>
> Maybe it is a better solution instead having bunch of additional params to 
> keep expressions.
> {code:java}
> @IntRangeFieldValidator(message = "Default message", key = "i18n.key", 
> shortCircuit = true, min = "0", max = "42")
> @IntRangeFieldValidator(message = "Default message", key = "i18n.key", 
> shortCircuit = true, min = "${minValue}", max = "${maxValue}" parse="true")
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to