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

                 Key: WW-2338
                 URL: https://issues.apache.org/struts/browse/WW-2338
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - CodeBehind
    Affects Versions: 2.0.11
         Environment: WindowsXP Sp2, Jetty 6.1.5, Eclipse 3.3.1,JDK 
1.6.0_UPDATE3
            Reporter: Kun,Zheng


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to