|
From: Seth L. <se...@eh...> - 2004-03-04 19:57:47
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | I agree completely we should use Errors. What I would like to do is take | the best parts of your design and take the parts of mine I feel are strong | and merge the two in the sandbox for review. Nothings going to be | complicated, hopefully simplified. If something doesn't meet your | requirements, let me know immediately! I'll work with you to get our stuff | committed ASAP. I agree, let's get something into sandbox soon. Here are some requirements: - - Be allowed to put MessageSourceResolvable into message args of messages (patch in JIRA to do this) - - attach validation rules to getters of objects - - use a singleton validator (of type AttributeValidator, or whatever) to validate all Command objects. In other words, remove requirement to write a Validator for each Command Object. - - Minimize any configurations. Since it deals w/ attributes, shouldn't be an issue. - - Validate object graphs (recurse through command object) - - Make it easy to add new rules - - Javascript generation from rules (we'll worry about that later :) - - Impact on Spring should be minimal Hope that helps. Looking forward to helping! Seth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAR4bk5EIB1scRes8RAkhjAKCSZZ/VTks2fgQ6uESOmSwMmvdX5QCeOGVb H0SyYuiT1LBpEFodafGfPjE= =1r71 -----END PGP SIGNATURE----- |