• 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
Re: Trying to update two ajax containers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to update two ajax containers?


  • Subject: Re: Trying to update two ajax containers?
  • From: James Cicenia <email@hidden>
  • Date: Sun, 28 Feb 2010 17:41:12 -0600

Based upon Kieran hint I was able to do the following which worked:


AddArtist : AjaxUpdateLink {
       action = addArtist;
       updateContainerID = "artistGridContainer";
       onComplete = "function(request) {resultsUpdate();  NavBarUpdate(); }";
       id = "addArtist";
}

   

Thanks

James



On Feb 28, 2010, at 4:42 PM, Simon wrote:

AjaxUpdateTrigger, or in java code you could do

AjaxUpdateContainer.update("artistGridContainer", context());
AjaxUpdateContainer.update("results", context());

Simon

On 28/02/2010, James Cicenia <email@hidden> wrote:
Hello -

I have integrated AjaxGrid with LiveSearch and it works great.

However, upon display of the LiveSearch results I have a link to add a
result to the AjaxGrid.
That works great too.

Now my question is ...

How can I use that add link to send a message to the Results area of
LiveSearch if there is
already a record in the AjaxGrid.

The add record link updates the Ajax Container of the AjaxGrid. However if
there is already
a record there I want to display a message in the results area.

It's updateContainerID is only "artistGridContainer", so how do I also add
container "results"

AddArtist : AjaxUpdateLink {
      action = "">
      updateContainerID = "artistGridContainer";
      ;
}

Thanks
James

 _______________________________________________
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

References: 
 >Trying to update two ajax containers? (From: James Cicenia <email@hidden>)
 >Re: Trying to update two ajax containers? (From: Simon <email@hidden>)

  • Prev by Date: Re: Trying to update two ajax containers?
  • Next by Date: Strange localContext error for my d2w component
  • Previous by thread: Re: Trying to update two ajax containers?
  • Next by thread: Strange localContext error for my d2w component
  • Index(es):
    • Date
    • Thread