|
From: <ty...@me...> - 2005-09-13 15:20:27
|
Hi,
With all this talk about Validation made me want to speak up. I am
currently using Valang validation which works great. However I wanted a
way to trigger the validation on different layers of our application. I
was thinking of injecting a map of Validator object into a method
interceptor. Then I found ValidatingInterceptor and ValidatingSupport in
SpringModules, which does this already. However it seems to be very ORM
specific where it doesn=92t need to be.
To make it more generic, I combined it with a ValidationInterceptor 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. However it
seems a little redundant right now since ValidatingSupport figures out vi=
a
the map keys. I see real value in adding something like this interceptor
to Spring Modules. Does anyone have any interest in using it?
Thanks,
Tyler
|