Description

Submenu component is used as a child of menu

Screen Shot

API

component-family net.sf.yui4jsf.Menu
component-class net.sf.yui4jsf.component.menu.SubMenu
tag-class net.sf.yui4jsf.component.menu.SubMenuTag

Usage

<yui:menu tiered="{true|false}">
	<yui:submenu title="Mail">
		<yui:menuitem text="Gmail" url="http://mail.google.com"></yui:menuitem>
		<yui:menuitem text="Yahoo Mail" url="http://mail.yahoo.com"></yui:menuitem>
		<yui:menuitem text="Hotmail" url="http://www.hotmail.com" target="_blank"></yui:menuitem>
	</yui:submenu>
	<yui:submenu title="Sports">
		<yui:menuitem text="FIFA" url="http://www.fifa.com"></yui:menuitem>
		<yui:menuitem text="NBA" url="http://www.nba.com"></yui:menuitem>
	</yui:submenu>
	<yui:submenu title="Videos">
		<yui:menuitem text="YouTube" url="http://www.youtube.com"></yui:menuitem>
		<yui:menuitem text="Google Video" url="http://video.google.com"></yui:menuitem>
	</yui:submenu>
</yui:menu>
            

Attributes

<yui:menuitem>

Standart Attributes - id, rendered, binding
title - Title of the submenu.

Instructions

see menu.jsp, multitieredMenu.jsp and menuBar.jsp for examples

Upcoming Features

- Styling

Additional Information

NONE