• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Ajax Updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ajax Updates


  • Subject: Ajax Updates
  • From: "Daniele Corti" <email@hidden>
  • Date: Fri, 2 Mar 2007 17:21:10 +0100

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 = "">    value = searchStr;
    Ajax.Updater('content', $('content').getAttribute('updateUrl'), {});";
    class = "button";
}

"content" is the id of my main div.

tipical UpdateLink:

AjaxPrevLink : AjaxUpdateLink {
    action = "">    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@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Ajax Updates
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: WANTED: WebObjects 4.51/Objective-C tutor
  • Next by Date: Re: Ajax Updates
  • Previous by thread: WANTED: Ruby/RubyCocoa/Objective-C developer
  • Next by thread: Re: Ajax Updates
  • Index(es):
    • Date
    • Thread