Try <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <div t:type="layout"> <h1>Welcome to the Nifty Web Application!</h1>
<p> Would you like to <t:pagelink page="Index">Log In</t:pagelink>? </p> </div> </html> Furthermore Layout.tml should be in components and not in pages package. 2008/9/7 <[EMAIL PROTECTED]> > Hi there! > > I was following this example to get used to the new Tapestry5 way to do > stuff: > > http://tapestry.apache.org/tapestry5/guide/layout.html > > > The Layout.tml looks like that: > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <head> > <title>My Nifty Web Application</title> > </head> > <body> > <div class="nav-top"> > Nifty Web Application > </div> > > <t:body/> > > <div class="nav-bottom"> > (C) 2008 NiftyWebCo, Inc. > </div> > </body> > </html> > > The Index.tml like that: > > <html t:type="layout" xmlns:t=" > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <div> > <h1>Welcome to the Nifty Web Application!</h1> > > <p> > Would you like to <t:pagelink page="Index">Log In</t:pagelink>? > </p> > </div> > > </html> > > Two things are a big strange: > > 1. The output leaves out the html from the Layout.tml - it only shows the > Index.tml content > 2. If the outer DIV in the Index.tml is missing, only the last <p></p> is > shown - without any warning or error message. > > Any ideas? > > Thanks! > > Toby > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >