• 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: AjaxUpdateContainer and dynamic frequency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxUpdateContainer and dynamic frequency


  • Subject: Re: AjaxUpdateContainer and dynamic frequency
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 28 Jan 2009 09:47:31 -0500

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


  • Follow-Ups:
    • Re: AjaxUpdateContainer and dynamic frequency
      • From: WebObjects - Anazys <email@hidden>
References: 
 >AjaxUpdateContainer and dynamic frequency (From: WebObjects - Anazys <email@hidden>)
 >Re: AjaxUpdateContainer and dynamic frequency (From: Mike Schrag <email@hidden>)
 >Re: AjaxUpdateContainer and dynamic frequency (From: WebObjects - Anazys <email@hidden>)

  • Prev by Date: Re: AjaxUpdateContainer and dynamic frequency
  • Next by Date: Re: AjaxUpdateContainer and dynamic frequency
  • Previous by thread: Re: AjaxUpdateContainer and dynamic frequency
  • Next by thread: Re: AjaxUpdateContainer and dynamic frequency
  • Index(es):
    • Date
    • Thread