Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
In Short:
"ActionA" and "ActionB" both implement ModelDriven to expose an instance of "ModelClass" on the value stack.
Some properties might be set on ModelClass. "ActionA" and "ActionB" have the same validation rules for properties of ModelClass.
=> It would be useful to share a set of validation rules in ModelClass-validation.xml.
Does XWork allow validating other objects than actions ?