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]

Reply via email to