|
From: Daniel M. <mi...@pa...> - 2004-03-02 05:28:20
|
Seth, That looks great. This would make my validation support super easy to implement. You can grab my current source here: http://www.paonline.com/millerd/Spring-commons-validator_no-dependencies.zip I have not had time to write up a good example, tests, or complete the documentation. Hopefully I will be able to do this soon. Thanks, Daniel Original Message: ----------------------------------------------------- | (2) Improve the handling of Errors objects to allow message resources to be | specified as arguments that would not be resolved to their corresponding | messages until reaching the view. I really like this solution, but I have | not thought it through completely. One more note: since the errorArgs | parameter is an array of Objects (not an array of Strings), maybe there | would be a way to use a "Message" object that would be resolved at a later | time, while preserving the current functionality of Strings that are used | directly as arguments. For all I know, there is already a way to do this (it | seems logical enough), and I just don't know about it. This J2EE stuff is so | hard to keep up with... Daniel, I just posted a simple patch w/ unit test for the functionality we've discussed. Please review and see if it meets your needs. http://opensource.atlassian.com/projects/spring/secure/ViewIssue.jspa?key=SP R-56 Seth |