On Mon, 21 Mar 2011 15:22:30 -0300, stephanos2k
<stephan.beh...@googlemail.com> wrote:
Thanks for the quick response!
Hm, I didn't know that this would break the class hierarchy.
It doesn't.
I understand the issue like this (hope it works in HTML/Mail):
Layout.tml > Page.tml --> Result <-- Page.java < BasePageRed.java <
It's not correct. Layout is rendered inside Page, not the opposite. Layout
is a component as any other and it's being used as part of the Page
template.
I am far from completely grasping what goes on when Tapestry renders,
but I though the tmls ('left') and classes ('right') are merged somehow.
There's no merge.
I assumed I could tell Layout to 'expect' a Parameter coming from the
class side.
<t:layout parameterName="some value>...
In Layout:
@Parameter
private AnyTypeYouWant parameterName;
--
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