[
https://issues.apache.org/jira/browse/WW-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-2475:
------------------------------
Fix Version/s: (was: 2.2.x)
3.x
> Provide a way to share validation.xml rules with ModelDriven
> ------------------------------------------------------------
>
> Key: WW-2475
> URL: https://issues.apache.org/jira/browse/WW-2475
> Project: Struts 2
> Issue Type: New Feature
> Reporter: Sami Dalouche
> Fix For: 3.x
>
>
> 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 ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira