This is not the case. T4 had the $content$ and $remove$ directives. These are useful features that have not yet made it into Tapestry 5.
On Wed, Apr 2, 2008 at 3:49 AM, Julien HENRY <[EMAIL PROTECTED]> wrote: > Hi Onno, > > You don't need to do anything else. Everything outside of > > <div class="text-column" t:type="Border"> > Page content > </div> > will be discarded and the Layout component will be used instead. Is it not > the case? > > Regards, > > Julien > > ----- Message d'origine ---- > De : Onno Scheffers <[EMAIL PROTECTED]> > À : Tapestry users <[email protected]> > Envoyé le : Mercredi, 2 Avril 2008, 11h26mn 58s > Objet : T5: Layout question > > > > I created a Layout component called Border. > According to the documentation, I have to setup my page something like this: > <html t:type="Border" xmlns:t=" > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > Page content > </html> > > I want the template to be previewable though so the webdesigners can work > with the pages more easily. > For this I need some more markup around the page content that needs to be > ignored when rendering the page. Thus something like this: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xmlns:t=" > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <body> > <div id="main"> > <div id="content"> > <div class="content-holder"> > <div class="text-column" t:type="Border"> > Page content > </div> > </div> > </div> > </div> > </body> > </html> > > Is there a way I can tell Tapestry to ignore all Markup outside of the > Border component? > > regards, > > Onno > > > > > > > > _____________________________________________________________________________ > Envoyez avec Yahoo! Mail. Plus de moyens pour rester en contact. > http://mail.yahoo.fr > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
