Issue Details (XML | Word | Printable)

Key: SPRNET-430
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Damjan Tomic
Reporter: Aleksandar Seovic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring.NET

Add collection validator to data validation framework

Created: 28/Dec/06 09:58 AM   Updated: 08/May/07 06:28 PM   Resolved: 28/Feb/07 02:34 PM
Component/s: Spring-NET-CORE
Affects Version/s: 1.1 P3
Fix Version/s: 1.1 M1

Time Tracking:
Not Specified



Aleksandar Seovic added a comment - 28/Feb/07 02:34 PM
New <v:collection> validator has been added that can be used to wrap one or more validators that should be evaluated for each element in the collection.

Users can also control whether all collection elements should be validated no matter what by setting validate-all attribute to 'true', or they can use default behaviour (evaluation is short-circuited as soon as single element fails to validate properly).

Collection to validate can be specified using context attribute of the <v:collection> element.