Struts 2
  1. Struts 2
  2. WW-2338

The method based Validation XML doesn't work while using codebehind.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: 2.0.11
    • Fix Version/s: Future
    • Component/s: Plugin - CodeBehind
    • Labels:
      None
    • Environment:

      WindowsXP Sp2, Jetty 6.1.5, Eclipse 3.3.1,JDK 1.6.0_UPDATE3

      Description

      I am now using struts 2.0.11 with codebehind plugin.
      while I post data from an input form to the serverside,for example, with namespace "/admin/profile" and action class EntityAction using action "entity!save",The XML validation file is invalid.It only work with the file name EntityAction-validation.xml, and so I can't validate input data on method scope.Someone said the xml file's name should be EntityAction-entity!save-validation.xml and it worked, I have tried but failed again.

        Activity

        Kun,Zheng created issue -
        Ted Husted made changes -
        Field Original Value New Value
        Fix Version/s Future [ 21530 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 44706 ] Struts - editable closed status (temporary) [ 48711 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 48711 ] Struts - editable closed status [ 51860 ]
        musachy made changes -
        Resolution Not A Problem [ 7 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
        Lukasz Lenart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Kun,Zheng
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development