Tapestry5LayoutWithMenu:
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"/>
</t:menuItem>
</t:menuHolder> ---
Now let's have a look at the MenuHolder and MenuItem components.