Went down this road recently.

You have a Layout component (call it what you want)

<html><body>some static stuff
<t:body/>
</body>
</html>

and each page uses the layout;

<t:layout>
body body
</t:layout>

if you want more flexibility, you can pass in other components as parameters, and use t:delegate to render them



<t:layout>
<t:parameter name="sidebar">
        <t:sidebar t:id="sidebar"/>
        </t:parameter>
body body
</t:layout>

and in the layout:

<t:delegate to="propertyNameOfYourParameter"/>


bjornharvold wrote:
Konstantin,

Can you give me an example?

thx
bjorn





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to