Hi all,
there's a problem that I really don't understand: I'm using Ajax to update a
div with the content of my site, leaving the wrapper immutate.

sometimes It happens that the update doesn't work, not for errors, but just
doesn't work.

Does anyone has some ideas about why this happen?

I'm not sure, but it seems to me this happen only with AjaxSubmitButton, but
I'm not sure...

for more information:

tipical Submit:

AjaxSubmit1 : AjaxSubmitButton {
   action = search;
   value = searchStr;
   onClick = "new Ajax.Updater('content',
$('content').getAttribute('updateUrl'), {});";
   class = "button";
}

"content" is the id of my main div.

tipical UpdateLink:

AjaxPrevLink : AjaxUpdateLink {
   action = back;
   updateContainerID = "content";
}

the action are

public WOActionResult search()
{
//do my things
return null;
}

same for "back"

thank you for your help!!!!!
--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to