Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
Nightly Builds
-
None
-
None
-
Operating System: All
Platform: All
-
29536
Description
This patch basically moves the Struts Javascript validator taglib over to
commons-validator. Naturally, all the Struts-specific code has been removed.
The biggest change was from Struts' MessageResources to JDK's ResourceBundle.
100% percent of the capabilities of the Struts version was maintained, however,
Struts will still probably need to extend this class to load ValidatorResources
from the servlet context as they do, and wrap MessageResources as a
ResourceBundle implementation.
This should make it easier for other projects like Spring to use the validator
needing as little integration code as possible.