Thank you Thiago, I think delegate and if can help me.
2010/8/4 Thiago H. de Paula Figueiredo <thiag...@gmail.com> > On Wed, 04 Aug 2010 11:30:14 -0300, Pablo dos Reis <pablodosr...@gmail.com> > wrote: > > Is there a way to set the component's type in run time? >> > > Hi, Pablo! > > It's absolutely impossible. Tapestry is all about static structure and > dynamic behaviour. Use the Delegate component instead. > > > I need to choose the layout by onActivate parameter. >> > > Depending on what you need, CSS solves your problems. If not, some use of > the If and Delegate components plus blocks will probably do. > > -- > 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 > > -- Pablo Henrique dos Reis