On Mon, 20 May 2013 17:56:28 -0300, Cezary Biernacki <cezary...@gmail.com>
wrote:
You can't render a page in another page. And you probably should not.
I'd say "You should *not* render pages in other pages. Period. Write a
component instead.".
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.
Exactly. We can't stress this enough: Tapestry is all about components and
making it easier to write new ones. If you want to reuse stuff in
Tapestry, put it in a component and use it in pages or other components.
As with any other tool, don't try to go against the philosophy of it.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org