William Ferguson wrote:



The fact that there is no Validator interface is one of the unique
strengths of Commons Validator.  You don't need to implement anything,
just tell the framework the method name and parameters and you're done.



I disagree.


I agree with WF, that an interface would be better for anything.
For example:
execute(Context)
In the Context you can put a map of values or a list of rows that you want validated.
It would place in context a List of String that are errors.


How this works in JavaScript I have no idea.

.V


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to