The path of least resistance is to do something like (in inline syntax, but you should get the point):

<wo:AjaxUpdateContainer id = "ExampleContainer" frequency = "2.0">
        <wo:WOString value = "$whateverYouAreDisplaying"/>
<wo:WOConditional condition = "$shouldStop"><script>ExampleContainerStop();</script></ wo:WOConditional>
</wo:AjaxUpdateContainer>

On Dec 24, 2007, at 9:31 AM, WIESEN Bruno wrote:

Thank you for the response...

So I must set the "onSuccess" binding to "AjaxUpdateContainerStop()" considering that his name is "AjaxUpdateContainer" ?
And It Will stop....


Le 24 déc. 07 à 14:40, Mike Schrag a écrit :

I use an AjaxUpdateContainer in order to change the value of a string. This string represents the delay before a product can be delivery (the delay is obtained by a xml request to a server). Is there a way to stop the AjaxUpdateContainer after one time or when the strings has changed?
I assume you're using the frequency binding? If so, there's a magical javascript function based on the id of your AUC -- like YourIdUpdate(), there's a YourIdStop() as well when frequency is set.

ms

_______________________________________________
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/dev%40pyramide-ingenierie.be

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