[ http://issues.apache.org/struts/browse/SHALE-131?page=all ]
Craig McClanahan moved STR-2782 to SHALE-131:
---------------------------------------------
Project: Shale (was: Struts Action 1)
Key: SHALE-131 (was: STR-2782)
Component: (was: Shale)
Version: (was: Nightly Build)
Assign To: (was: Struts Developer Mailing List)
> [shale] Support for variable "var" validation parameters
> --------------------------------------------------------
>
> Key: SHALE-131
> URL: http://issues.apache.org/struts/browse/SHALE-131
> Project: Shale
> Type: Improvement
> Environment: Operating System: other
> Platform: Other
> Reporter: Hubert Rabago
> Priority: Minor
>
> The Commons Validator support specifies validation "var"s as tag attributes:
> <s:commonsValidator type="date"
> datePatternStrict="MM/dd/yyyy"
> arg="#{messages['prompt.expirationDate']}"
> server="true"
> client="true"/>
> 'datePatternStrict' is a parameter for the date validator. Other validators
> have other parameters. The support can be enhanced by specifying parameters
> using another tag:
> <s:commonsValidator type="date"
> arg="#{messages['prompt.expirationDate']}"
> server="true"
> client="true">
> <s:validatorVar name="datePatternStrict" value="MM/dd/yyyy"/>
> </s:commonsValidator>
> This allows custom validators to use their own parameters, or updated versions
> of the built-in validators to use new parameters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]