Struts 2
  1. Struts 2
  2. WW-2475

Provide a way to share validation.xml rules with ModelDriven

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      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 ?

        Activity

        Lukasz Lenart made changes -
        Fix Version/s 3.x [ 12319158 ]
        Fix Version/s 2.2.x [ 12314679 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 46507 ] Struts - editable closed status [ 49751 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 44901 ] Struts - editable closed status (temporary) [ 46507 ]
        Don Brown made changes -
        Field Original Value New Value
        Fix Version/s 2.2.x [ 21892 ]
        Sami Dalouche created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Sami Dalouche
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development