Issue Details (XML | Word | Printable)

Key: XDT-881
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

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

Add ability to generate validation.xml from POJOs for Spring

Created: 26/Apr/04 12:03 AM   Updated: 10/May/04 11:51 AM
Component/s: Spring Module
Affects Version/s: 1.2.1
Fix Version/s: 1.2.2

Time Tracking:
Not Specified

File Attachments: 1. Java Source File SpringValidationXmlSubTask.java (2 kB)
2. Java Source File SpringValidatorTagsHandler.java (12 kB)
3. XML File validation_1_1.dtd (8 kB)
4. File validation_xml.xdt (3 kB)

Environment: Windows XP, JDK 1.4.2, Ant 1.6.1


 Description  « Hide
Since Spring's Sandbox supports using the Commons Validator - it would be nice if it was possible to generate the validation.xml like you can do with Struts.

I'll attach files to make this possible.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Matt Raible added a comment - 26/Apr/04 12:05 AM
resources/

Matt Raible added a comment - 26/Apr/04 12:05 AM
/resources

Matt Raible added a comment - 26/Apr/04 03:30 AM
I ended up having to change the namespace to CommonsValidator to avoid conflicts with the Validator in Struts. Making this change required changing all the "Validator" tags in validation_xml.xdt to be "CommonsValidator".

Matt Raible added a comment - 10/May/04 11:51 AM
Fixed in CVS.