Changing the [validation interceptor] will switch on/off the all
validations by one pre-condition.

But what he need is:
if and only if pre-condition-A is true, run validation-A;
if and only if pre-condition-B is true, run validation-B;
etc...

So, I think the right way is, change the validators.



2011/11/29 Dave Newton <[email protected]>:
> If the goal is to execute validations based on arbitrary preconditions (I
> missed the original req) the *easiest* thing to do might be to just
> extend/usurp the existing validation interceptor to do that precondition
> check.
>
> d.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to