struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4018) Revert parse param back
Date Mon, 18 Mar 2013 10:54:20 GMT

     [ https://issues.apache.org/jira/browse/WW-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4018:
------------------------------

    Summary: Revert parse param back  (was: Revert back parse param)
    
> 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

Mime
View raw message