JViews Core
Tag menu


Menu Auxiliary Component

The menu auxiliary component allows you to define a menu model. The defined menu model is used primarily to build contextual menus.

The following are the valid auxiliary components that can be nested in this auxiliary component:

Usage

<jv:menu
    label="Menu"
    image="images/menu-image.gif">

  <jv:menuItem
      label="Menu Item 1"
      image="images/menu-item-1-image.gif"
      onclick="menuItem1Action()"/>
  <jv:menuItem
      label="Menu Item 2"
      image="images/menu-item-2-image.gif"
      onclick="menuItem2Action()"/>
  <jv:menuItem
      label="Menu Item 3"
      image="images/menu-item-3-image.gif"
      onclick="menuItem3Action()"/>
  <jv:menuSeparator />
  <jv:menu
      label="Sub Menu"
      image="images/sub-menu-image.gif">

    <jv:menuItem
        label="Sub Menu Item 1"
        image="images/sub-menu-item-1-image.gif"
        onclick="subMenuItem1Action()"/>
    <jv:menuItem
        label="Sub Menu Item 2"
        image="images/sub-menu-item-2-image.gif"
        onclick="subMenuItem2Action()"/>
  </jv:menu>
</jv:menu>

DHTML - JavaScript Types

IlvMenu

Server Side Class

IlvMenu



Tag Information
Tag Classilog.views.faces.taglib.IlvFacesMenuTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameMenu

Attributes
NameRequiredRequest-timeTypeDescription
imagefalsefalsejava.lang.StringAn optional image.
labelfalsefalsejava.lang.StringThe label of this menu.
baseTextDirectionfalsefalsejava.lang.StringThis attribute controls the direction of the text. supported values: LTR, RTL , Contextual

Variables
No Variables Defined.


© Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.