Change that GET to POST... I'm using Dojo with Struts without any problem, and I believe using the formNode attribute creates a POST body, but setting method to GET I'd bet discards it.
Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Tue, October 3, 2006 6:39 am, Venkata Phani Kumar wrote: > Hi, > I need some help regarding dojo with struts. > I have one form which contains some check boxes and 'delete' button. > > i have corresponding Action and ActionForm classes to implement delete. > I am trying to implement Dojo here to avoid total page refresh. > > the code in jsp is : > function onclick_delButton() { > var bindArgs = { > url: "/deleteaction.do", > transport: "XMLHTTPTransport", > changeURL: "true", > handler: deleteViews, > method: "get", > mimetype: "text/html", > formNode: document.getElementById("viewUpdtForm") > }; > dojo.io.bind(bindArgs); > } > im am calling above javascript method when user clicks on 'delete' button. > > The action class is executing perfectly, but the form(ActionForm) values > are appearing as null. > Even i tried with request.getParameter("userviews"). > > can anybody help how to submit form values with dojo submition. > > Venkata Phanikumar. G > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]