Matt-
//treeNodeSelected is a good example of divTag.innerHtml = data;
//in tags/ui/treeExampleDynamic.jsp
dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected");
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?
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
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
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
>
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) {
>
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
7 matches
Mail list logo