Differences between revisions 2 and 3
Revision 2 as of 2009-10-13 19:02:41
Size: 602
Editor: outbound
Revision 3 as of 2009-10-20 18:07:47
Size: 612
Editor: outbound
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Line 18: Line 19:


This is an example for a Layout with a menu attached to it:

Here is an example Layout.tml:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns="http://www.w3.org/1999/xhtml" xmlns:p="tapestry:parameter">
  <t:menuHolder id="menu">
    <t:menuItem page="Page1"/>
   <t:menuItem page="Other" isPage="false">
        <t:menuItem page="Page2"/>


Now let's have a look at the MenuHolder and MenuItem components.

Tapestry5LayoutWithMenu (last edited 2009-10-20 18:07:47 by outbound)