Menu demo

Description
This page displays a simple menubar component, without sub elements.
Notice that the content of menuitem can be :
  • A Tapestry component
  • A label defined with the label attribute
  • Any HTML content



In Action



TML Source code

		
	<ex:menubar t:id="menubar">
		<ex:menuitem>
			<t:pagelink page="index">Index</t:pagelink>
		</ex:menuitem>
		<ex:menuitem>
			<t:pagelink page="index">Index second link</t:pagelink>
		</ex:menuitem>	
		<ex:menuitem label="literal:Nothing here"/>
		<ex:menuitem>
			<a href="http://www.google.com" target="_blank">Google link</a>
		</ex:menuitem>
	</ex:menubar>