Off the top of my head, this is one way (I am sure there are others):

Add a javascript tag inside the artistGridContainer sth like this:

<script type = "text/javsscript">
        resultsContainerUpdate();
</script>

That should trigger a container "domino update behaviour" if your results 
container is called 'resultsContainer'

HTH, Kieran


On Feb 27, 2010, at 7:26 PM, James Cicenia 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 = addArtist;
>        updateContainerID = "artistGridContainer";
>        onComplete = "function(request) { NavBarUpdate(); }";
> }
> 
> Thanks
> James
> _______________________________________________
> 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/kieran_lists%40mac.com
> 
> This email sent to [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