Em Thu, 14 May 2009 15:32:20 -0300, Borut Bolčina
<borut.bolc...@gmail.com> escreveu:
My intention was that page selects its own layout, not which block gets
rendered. I am using the block and delegate for other purposes. If the
layouts don't differ much then one can use parameters for the layout and
then conditionally renders parts of the layout so it looks different. I
wanted to have several simple layouts which a page can choose for itself,
which I think is more "clean" then having one with a lot of blocks and
ifs.
I would create a Layout component with some parameters set by each page.
Then the blocks and the Delegate are used inside Layout. ;)
--
Thiago H. de Paula Figueiredo
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org