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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]