On Fri, 13 May 2011 11:53:19 -0300, Clément Uster <clement.us...@gmail.com> wrote:

Thanks Taha and Thiago.

Hi!

This is an old "corporate" lib, that isn't supposed to evolve anymore.

This scenario isn't very good . . .

It has a simple loop, and I want to change what is displayed for a
particular index (by adding an "if" component, testing the value of "index").

I'd use a mixin which has a afterRender(MarkupWriter writer) and then change the Tapestry DOM. It's not easy nor particularly elegant, but this is a workaround for using a component that can't be changed without rewriting it. This technique has saved my day many times.

--
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