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

Ben Gunter closed STS-64.
-------------------------


> Expression based validaiton support
> -----------------------------------
>
>                 Key: STS-64
>                 URL: http://www.stripesframework.org/jira/browse/STS-64
>             Project: Stripes
>          Issue Type: New Feature
>          Components: Validation
>            Reporter: Tim Fennell
>            Assignee: Tim Fennell
>             Fix For: Release 1.3
>
>
> I've been trying to think of a good way to make validation using annotations 
> more powerful, without adding lots of new parameters to the Validation 
> annotation.  I think a good way of doing this might be to add expression 
> based validation.  You can imagine at first it could be quite simple, whereby 
> you could refer to the annotated field as 'x' or 'this' or some such, and say 
> things like:
>      x > 10 or x < 1
>      x mod 2 == 0
> Since we know we're running in a container that will have EL support, we 
> could probably even do this using EL and a custom variable resolver :D  That 
> way we could even do inter-field validation quite cheaply:
>     x > person.age

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to