Hi Stefan,

The zone rises an Event when it's updated. You can check it on the
documentation: 
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html

You just have to listen for the JS Tapestry.ZONE_UPDATED_EVENT and add
any JS you want.  This is pretty straight forward with a Zone, i'm not
sure about the AjaxFormLoop though.

On Wed, Oct 20, 2010 at 8:45 PM, Stefan Schuetz <[email protected]> wrote:
> Hi guys,
>
> i have an ajaxformloop (could be a simple zone too).
> After adding a row i need to trigger a client-side action to do some stuff 
> with the inserted elements.
> How can i do this?
>
> To be more precise:
>
> After the DOM is ready a script finds all elements within an 
> ajaxformloop-generated table
> and binds a listener on them. This init-script has to be re-triggered after 
> adding a row or updating the zone.
>
> Is there any straight-forward way or have i to deal with some more tricky 
> stuff?
>
> thx in advance,
> Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to