On Wed, 13 Jul 2011 16:22:53 -0300, derkoe <tapestry.christian.koeb...@gmail.com> wrote:

sandeep kale wrote:

Hi,

To do it like Thiago: Hi!

Hi! :P

I am using zone to reset ordering of rows in my list grid. I reorder the
rows in the list after clicking on reset button which refreshes zone
containing list grid. Upto this it's fine. But I have added js to on load> of document to set the class of rows in the list to a css class through
javascript call.

Couldn't you do this by CSS?

But this binding is lost when zone refreshes my list
grid.

In JavaScript, the Zone component triggers the Tapestry.ZONE_UPDATED_EVENT event when the zone is finished updating

$('yourZoneId').observe(Tapestry.ZONE_UPDATED_EVENT, function() {
        ...
});

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to