[ https://issues.apache.org/struts/browse/WW-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46305#action_46305 ]
J Alex commented on WW-3138: ---------------------------- Wes, Where can i find info on how to submit a patch..i am a newbie to SVN and building Struts from source and all..but i can attempt one for this since i know the problem. Thanks, Joseph On Sat, May 30, 2009 at 12:03 AM, Wes Wannemacher (JIRA) > DWRValidator not working > ------------------------ > > Key: WW-3138 > URL: https://issues.apache.org/struts/browse/WW-3138 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1.6 > Environment: Struts2.1.6, tested on Tomcat 6 and WAS 6.1 > Reporter: J Alex > Fix For: 2.1.7 > > > There are 2 issues , first the DWR validator is not functional - i.e it > fails with a NPE when creating the action proxy. > ActionProxy proxy = actionProxyFactory.createActionProxy(inv, namespace, > mapping.getName(), mapping.getMethod(), true, true); > This can be resolved by using : > ActionProxy proxy = actionProxyFactory.createActionProxy(namespace, > mapping.getName(), mapping.getMethod(), ctx); > instead. > Second, the mapping.getMethod() in the above call returns null; shouldn't it > be the "method" attribute specified in Action Mapping? > Discussion on this issue is at > http://www.nabble.com/DWRValidator-not-working-in-Struts-2.1.6-to23215316.html#a23215316 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.