t:contnt is what you want. It's not a component, it is it's own xml
tag. So, either:
<html>
<body>
<t:content>
stuff you want in here
</t:content>
</body>
</html>
Or:
<html>
<t:content>
<body>
...
</body>
</t:content>
</html>
Former will exclude html + body in the final rendered page.
Latter will exclude html, but include body in the final rendered page.
Robert
On Mar 9, 2010, at 3/910:51 AM , Pierce T. Wetter III wrote:
On Mar 8, 2010, at 6:07 PM, Thiago H. de Paula Figueiredo wrote:
On Mon, 08 Mar 2010 21:14:28 -0300, Pierce T. Wetter III <pie...@paceap.com
> wrote:
So speaking of which, how do you make a previewable component?
Use the <t:content> tag. Everything outside it won't be rendered.
Ah, so perhaps I should have been using that instead of t:container.
I notice that:
<html>
<body t:type="content">
</body>
</html>
doesn't work though. Should it?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org