[ 
http://www.stripesframework.org/jira/browse/STS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Fennell updated STS-537:
----------------------------

    Fix Version/s: Release 1.5

> @Validate should support trim
> -----------------------------
>
>                 Key: STS-537
>                 URL: http://www.stripesframework.org/jira/browse/STS-537
>             Project: Stripes
>          Issue Type: New Feature
>          Components: Validation
>    Affects Versions: Release 1.4.3
>         Environment: All
>            Reporter: Alan Burlison
>             Fix For: Release 1.5
>
>
> The maxlength and minlength @Validate parameters include any leading and 
> trailing whitespace when they calculate the length of a field, similarly the 
> required parameter will treat a field containing just spaces as if it is 
> valid.  To rectify this, it is proposed to add a new boolean parameter to 
> @Validate: trim.  If set, the contents of the field will be trimmed of 
> leading and trailing spaces before performing the other validation checks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to