Re: AjaxUpdateContainer and dynamic frequency
Re: AjaxUpdateContainer and dynamic frequency
- Subject: Re: AjaxUpdateContainer and dynamic frequency
- From: WebObjects - Anazys <email@hidden>
- Date: Wed, 28 Jan 2009 15:58:52 +0100
Ok I miss this point.
Thanks for your answer!
Le 28 janv. 09 à 15:47, Mike Schrag a écrit :
Somebody has already tried to change dynamically the value of the
frequency to display a component for 10 secondes, the next one 20
secondes.. ?
Is it possible with AjaxUpdateContainer or maybe I must write a
Javascript ?
Custom javascript .. it should be pretty easy -- in your
component, just do a setTimeout that calls YourComponetUpdate().
Hum.... custom javascript.. i'm not really happy to work on that.
So you think that it is not possible with the AjaxUpdateContainer.
I don't really see how to switch my components from a javascript or
how to call my WO function from the javascript, but i'm working on
it. The solution must be full javascript.
inside your update container with the id "MyContainer", just do
<script>setTimeout("MyContainerUpdate()", <wo:str
value="$updateInterval"/>) </script>. Every AUC gets a function
name <ContainerID>Update() created automatically.
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