Re: Submit, ajax, targets and action

2008-03-01 Thread Martin Gainty
Matt- //treeNodeSelected is a good example of divTag.innerHtml = data; //in tags/ui/treeExampleDynamic.jsp dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected");

RE: Submit, ajax, targets and action

2008-03-01 Thread Matthew Seaborn
us! -Original Message- From: Matthew Seaborn Sent: 01 March 2008 15:31 To: 'Struts Users Mailing List' Subject: RE: Submit, ajax, targets and action Thanks for the advice. How is this function supposed to be used, is it called from onclick in the s:submit tag?

RE: Submit, ajax, targets and action

2008-03-01 Thread Matthew Seaborn
Thanks for the advice. How is this function supposed to be used, is it called from onclick in the s:submit tag? -Original Message- From: Richard Sayre [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 18:42 To: Struts Users Mailing List Subject: Re: Submit, ajax, targets and action

RE: Submit, ajax, targets and action

2008-02-27 Thread Matthew Seaborn
This simply appears to make the click on the submit button perform an unparameterised GET on the defined URL. -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 18:42 To: Struts Users Mailing List Subject: Re: Submit, ajax, targets and action Just

Re: Submit, ajax, targets and action

2008-02-26 Thread Musachy Barroso
Just set the "href" on each submit to the url that it needs to submit to, and it should work. regards musachy On Tue, Feb 26, 2008 at 1:39 PM, Richard Sayre <[EMAIL PROTECTED]> wrote: > If I understand you correctly, You could write you own submit > function(s) that does its own ajax with dojo >

Re: Submit, ajax, targets and action

2008-02-26 Thread Richard Sayre
Sorry this posted too early... I updated the code so it submits the form fields with the ajax request: let me know if it helps. Rich > function submitFunctionA() { > > var kw = { > url:'', > load:function(type, data, evt) { >

Re: Submit, ajax, targets and action

2008-02-26 Thread Richard Sayre
If I understand you correctly, You could write you own submit function(s) that does its own ajax with dojo function submitFunctionA() { var kw = { url:'', load:function(type, data, evt) { //up to you what happens here