Hi

If you want to show/hide at the client side, you can just use the
style.display property of an element(Element.show()/Element.hide() in case
you are using prototype).

In case you want an ajax call to do it at the server side, you will have to
create an event link(ComponentResources.createEventLink())  and then use its
event handler to show or hide the zone contents. You will have to pass a
flag to the link from client side which the event handler will use to decide
whether to show or hide the contents.

At the server side you can use an <t:if> tag to show or hide the contents

regards
Taha

On Sun, Jul 10, 2011 at 8:36 AM, iberck <ibe...@gmail.com> wrote:

> Hi !!
>
> Anyone knows how can I show/hide a zone from javascript?
>
> Thanks in advance
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/show-hide-a-zone-from-javascript-tp4569536p4569536.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to