|
From: Steven D. <ste...@in...> - 2005-09-13 17:40:29
|
Tyler, What kind of validation do you want to do? Obviously =20 ValidatingSupport can be reused in other scenario's than just =20 persistence. The event mechanism should be sufficiently powerful to =20 leverage it in other place. Could you please provide some code =20 example of the integration with Acegi? Thanks Steven Devijver Senior consultant @ Interface21 ste...@in... On 13 Sep 2005, at 17:16, ty...@me... wrote: > Hi, > With all this talk about Validation made me want to speak up. I am > currently using Valang validation which works great. However I =20 > wanted a > way to trigger the validation on different layers of our =20 > application. I > was thinking of injecting a map of Validator object into a method > interceptor. Then I found ValidatingInterceptor and =20 > ValidatingSupport in > SpringModules, which does this already. However it seems to be very =20= > ORM > specific where it doesn=92t need to be. > > To make it more generic, I combined it with a ValidationInterceptor =20= > that > Ben Alex had in the Acegi Domain project. Like the Acegi version I > included a way to filter out objects on the interceptor level. =20 > However it > seems a little redundant right now since ValidatingSupport figures =20 > out via > the map keys. I see real value in adding something like this =20 > interceptor > to Spring Modules. Does anyone have any interest in using it? > > Thanks, > Tyler > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle =20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * =20 > Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/=20 > bsce5sf > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |