[
https://issues.apache.org/jira/browse/WW-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605613#comment-13605613
]
Lukasz Lenart commented on WW-4018:
-----------------------------------
Right now there are dedicated attributes to define expressions:
{code:java}
@IntRangeFieldValidator(message = "Default message", key = "i18n.key",
shortCircuit = true, minExpression = "${minValue}", maxExpression =
"${maxValue}")
{code}
Which solution is better?
> 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