You can't render a page in another page. And you probably should not.

But you can move reusable part of one page to a component and use this new
component on as many pages as you want just by writing
<t:MyNewShinyComponent />. It is the main feature of Tapestry - components
as a way to reuse template and code.




On Mon, May 20, 2013 at 10:44 PM, Ken in Nashua <kcola...@live.com> wrote:

> Guys,
>
> I stillk dont get it though...
>
> if I have a block like
>
> <t:block>
>
> </t:block>
>
> How do I get a page rendered inside this block?
>
> I mean I have a page called RosterQuery.tml RosterQuery.java
>
> there is <t:delegate/> <t:body/>
>
> How do i put this together...
>
> I still dont know how to reference my page into the above block so it will
> embed render within theblock without having to copy and paste the whole
> page and clutter up my block..
>
> All i want in my block is a one liner that will render my page.
>
> Can you tell me how this is done ?
>
> thanks
>

Reply via email to