It is not yet possible; it is a feature to be added. Not sure of the JIRA
number.

On 7/31/07, Chris Lewis <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I've seen several threads about T5 and layout components, but still none
> that show how to duplicate the functionality of $content$ in Tap 4. My
> layout works as long as the page templates include only their body (ie,
> no <html>, <head>, <body>). I liked $content$ in 4 because I could have
> normal-ish page templates and then tell Tap to pay attention to only
> what fell within $content$. So now my layout is:
>
> layouts/General.html:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>         <head>
>                 <title>test layout</title>
>         </head>
>         <body>
>                 <t:body/>
>         </body>
> </html>
>
> And a page:
>
> Login.html:
> <div t:type="layouts/General" xmlns:t="
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>         <form t:type="BeanEditForm" object="authRequest"
> submitlabel="message:login.submit.label">
>                 login form here
>         </form>
> </div>
>
> I don't like that in Login.html I can't have <html> (etc) without having
> those elements duplicated in the resulting page. Is there a way around
> this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to