My apologies but my last sentence is actually incorrect: "In this case, the 'Border' ... ". Probably a mixture of sleep deprivation and wishful thinking. The behaviour is exactly as described in the documentation.
To that end, I would like to know if their is an equivalent to $content$ in T5? Thanks, J. -------- Original Message -------- Subject: Re: T5 Border Component Date: Sat, 21 Jul 2007 02:56:56 +1000 From: Jordan Howarth <[EMAIL PROTECTED]> To: users@tapestry.apache.org References: <[EMAIL PROTECTED]> Hi Peter I was not aware of a core border component in T4 although I am happy to be corrected. Regardless, in T5 you have the <t:body/> Tapestry Element which, as described in the documentation (http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html), is an analogue of @RenderBody from T4. The example in the documentation shows the layout component operating as the root node of the containing page which is fine if you are a minimalist. However if you appreciate being able to validate the html of your page templates, you can finds examples of a "Border" component being declared in the <html> node of page templates, e.g. the testing source code (v5.0.5). In this case, the "Border" component behaves in a way that is similar to what occurred under T4 when the body element of a containing page template was marked with jwcid="$content$". J. Peter Stavrinides wrote: > Will the border component be re-introduced in Tapestry 5, if not how can I > achieve a similar effect? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]