You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/04/16 17:51:06 UTC

[jira] Resolved: (WW-2338) The method based Validation XML doesn't work while using codebehind.

     [ https://issues.apache.org/struts/browse/WW-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2338.
---------------------------------

    Resolution: Not A Problem

Please ask questions on the mailing list, this seems more like a configuration problem (ticket description says that "it worked" and then it failed again) 

> 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
>             Fix For: Future
>
>
> 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.