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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development