Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JavascriptValidatorTag should be maintained with Commons-Validator. Validator should at least provide a version of this class with abstract dependency retrieval methods (getValidatorResources and getMessage) so that a framework could simply extend the abstract class to provide this tag. Ideally, Validator would have its own tag library, but I can't think of how this would be implemented easily.

It would be even better if generation of the validation javascript could be abstracted out into a JavascriptValidatorSupport class that could act as a base for JavascriptValidatorTag and also be usable for integration with other view technologies, like Velocity.

Wiki Markup
Thanks,
\[mailto:millerd_AT_paonline_DOT_com Daniel Miller\]

...