Hi,

when a Zone is update it raises a javascript event that u could listen
to using prototype.

check: 
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html
"After the client-side content is updated, a client-side event is
fired on the zone's element. The constant Tapestry.ZONE_UPDATED_EVENT
can be used to listen to the event."

I hope it helps

On Sat, Nov 28, 2009 at 1:38 PM, kamiseq <kami...@gmail.com> wrote:
> hi,
> I read a bit about Ajax in tapestry (so I can use zones or mixins) but there
> is one thing that I really doesn't understand.
>
> let say I have two zones t:id="*zoneA*" and t:id="*zoneB*" with style *
> display:none* (only zoneA is visible by default). so now I click on
> actionLink (*B*) that will do something on server side and refresh zoneB's
> body. but what If I want to hide zoneA's so it will be visible next time
> somebody clicks on different actionlink (*A*) and so on. Is there any
> callback function that I can use to apply my own logic after ajax request
> has been processed??
>
> I couldnt find any tutorial about this maybe someone can point me to it.
>
> cheers
> --
>
> pozdrawiam
> Paweł Kamiński
>
> kami...@gmail.com
> pkaminski....@gmail.com
> ______________________
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to