I meant that there is a problem with DWRValidator.java , not the documentation.
Referring to http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dwr/src/main/java/org/apache/struts2/validators/DWRValidator.java?revision=670170 (hope this is the latest?) , the line : ActionProxy proxy = actionProxyFactory.createActionProxy(inv, namespace, mapping.getName(), mapping.getMethod(), *true*, *true*); had to be changed to : ActionProxy proxy = actionProxyFactory.createActionProxy(namespace, mapping.getName(), mapping.getMethod(), ctx); in order to make the validation work. Also, the mapping.getMethod() returns null , so we can't do validation on any other method than "execute" I wanted to know if i'm missing anything here, or is this a bug with DWRValidator? Thanks, Joseph On Fri, May 15, 2009 at 5:36 PM, Dave Newton <newton.d...@yahoo.com> wrote: > Martin Gainty wrote: > >> the 3rd parameter is a map extraContext - a Map of extra parameters to be >> provided to the ActionProxy >> xwork is the higher authority since it is a base library..here is the doc >> from >> xwork 1.2.3 >> > > S2 uses XW2. > > apparently Struts Doc is out of synch with xwork doc >> > > No. > > Dave > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >