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

AjaxUpdateContainer and dynamic frequency


  • Subject: AjaxUpdateContainer and dynamic frequency
  • From: WebObjects - Anazys <email@hidden>
  • Date: Wed, 28 Jan 2009 12:06:46 +0100

Hi all,

I'm playing with the Wonder component "AjaxUpdateContainer" but I have some trouble to customize :

In a classic way, this component works perfectly. But when I try to bind the frequency with a dynamic value (which is updated in a function binded by "action"), only the first value is used.. I have tried different solutions but it's a failure !
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_ ?

Another point in the same component : the "insertion" binding displays some effects when the component change. I have found a list of these effects here : http://wiki.github.com/madrobby/scriptaculous but all of these don't seems to work : for example BlindDown works but Shake don't. Is it a problem with my code or simply some of these won't work with Wonder ?

My code to help :
<wo:AjaxUpdateContainer frequency = "$frequency" action="$functionUpdated" id = "exampleArea" insertion="Effect.Shake">
<wo:if condition = "$displayFirstComponent">
<wo:MyComponent1 title = "Component 1"></wo:MyComponent1>
</wo:if>
<wo:if condition = "$displaySecondComponent">
<wo:MyComponent2 title = "Component 2"></wo:MyComponent2>
</wo:if>
</wo:AjaxUpdateContainer>

Thanks for your help !
Cedric
 _______________________________________________
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: Mike Schrag <email@hidden>
  • Prev by Date: Re: Handling Session timeout with ajax
  • Next by Date: Re: AjaxUploadFile
  • Previous by thread: mightDelete Question
  • Next by thread: Re: AjaxUpdateContainer and dynamic frequency
  • Index(es):
    • Date
    • Thread