I would recommend that you start your learning with something like Kent Tong's Enjoying Web Development with Tapestry using T4. I'm looking forward to T5, but I wouldn't recommend it for those just getting started.
www.agileskills2.org/EWDT/ You first need to adjust your mindset to the Tapestry way of thinking. You don't include blocks of code, you include components. What you are talking about maps most closely to a Border component, although another interesting approach is found on the Wiki under http://wiki.apache.org/tapestry/WysiwygWithoutBorder?highlight=%28Border%29 Anyway, go with the EWDT tutorial. The first four chapters are free and will give you a really good taste. I paid for the full thing more than a year ago for the 4.0.x and it was a great help. > -----Original Message----- > From: Phillip Grenier [mailto:[EMAIL PROTECTED] > Sent: Monday, April 02, 2007 9:38 AM > To: users@tapestry.apache.org > Subject: page includes, Tap 5 > > Can you do something similar to php like > > <html> > <?php > include $_SERVER['DOCUMENT_ROOT']."/header.php"; > include $_SERVER['DOCUMENT_ROOT']."/body.php"; > include $_SERVER['DOCUMENT_ROOT']."/footer.php"; > ?> > </html> > > I have found no way of including blocks of code in tapestry, Im learning > in Tapestry 5. Is this do-able? > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]