Re: AjaxUpdateContainer
Re: AjaxUpdateContainer
- Subject: Re: AjaxUpdateContainer
- From: Mike Schrag <email@hidden>
- Date: Mon, 24 Dec 2007 09:51:56 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to 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