[ http://issues.apache.org/struts/browse/WW-1018?page=all ]
Don Brown resolved WW-1018:
---------------------------
Fix Version: (was: 2.0.0)
Resolution: Won't Fix
Assign To: Don Brown (was: Jason Carreira)
We are moving away from the "!" method syntax. Instead, you can either specify
the method in the @method attribute, or use wildcards to continue to use the
action!method syntax. Therefore, I'm marking this as won't fix since just
specifying the action name should be enough now.
> validation problem for webwork's !command pattern action
> --------------------------------------------------------
>
> Key: WW-1018
> URL: http://issues.apache.org/struts/browse/WW-1018
> Project: Struts Action 2
> Type: Bug
> Components: Misc
> Versions: WW 2.2
> Environment: jdk:java 1.4.2 os:windows xp sp2 app server: tomcat 5.0.28
> Reporter: jacky hua
> Assignee: Don Brown
>
> for webwork 2.1.7 we can use Action1Class-alias!method1-validation.xml to do
> validation for Action's method1,
> but for webwork 2.2 beta4 it does not work.
> I went through the java sources of ww 2.1.7 and 2.2 beta, and found ww 2.2
> use ActionMapper for getting and storing
> action's information instead of xwork's ConfigurationManager in ww 2.1.7 for
> runtime.
> and then ww 2.2 creates ActionProxy accroding to ActionMapper's information,
> set method property to method1,
> set action property to Action1, so destroies the information about action
> invoked by !command pattern request.
> and xwork's validation interceptor and validator have not done something to
> fit this adjustment.
> so I recommand to adjust xwork's ValidationInterceptor to do action's method
> level validation,
> e.g. we can use Action1Class-method1-validation.xml or
> Action1Class-alias-method1-validation to do validation for a specific method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira