com.infragistics.faces.menu.taglib.html
Class MenuTag
java.lang.Object
javax.faces.webapp.UIComponentTag
com.infragistics.faces.menu.taglib.html.MenuTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.Tag
- public class MenuTag
- extends javax.faces.webapp.UIComponentTag
JSP Tags For The menu Component.
Use
To use the component in a JSP page, declare the taglib:
<%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>
and instantiate:
<ig:menu >
Attributes
| Name | Type | Default | Description |
| dataKeyName | String | "" | name of the field(s) that uniquely identify each record in the data source (use semi-colons to specify a composite primary key). |
| dataSource | DataModel | "" | data source this component is bound to |
| itemHoverStyleClass | String | "" | Space-separated list of CSS style class(es) applied to child MenuItems when them mouse is over them. |
| itemStyleClass | String | "" | Space-separated list of CSS style class(es) applied by default to child MenuItems. |
| menuBarItemHoverStyleClass | String | "" | Space-separated list of CSS style class(es) applied by child MenuBarItems when the mouse is over them |
| menuBarItemStyleClass | String | "" | Space-separated list of CSS style class(es) applied by default to child MenuBarItems. |
| menuBarStyleClass | String | "" | name of the css class applied to the menu bar (top horizontal menu) |
| orientation | String | "" | Menu's orientation (horizontal or vertical) |
| popup | boolean | "" | Indicates whether the menu is a popup menu |
| style | String | "" | CSS style applied when this Menu is rendered. |
| styleClass | String | "" | Space-separated list of CSS style class(es) applied when this Menu is rendered. |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Constructor Summary |
MenuTag()
Constructor |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, doStartTag, getComponentInstance, getCreated, getParent, getParentUIComponentTag, isValueReference, setBinding, setId, setPageContext, setParent, setRendered |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuTag
public MenuTag()
Constructor
getComponentType
public java.lang.String getComponentType()
getRendererType
public java.lang.String getRendererType()
release
public void release()
setDataKeyName
public void setDataKeyName(java.lang.String newValue)
setDataSource
public void setDataSource(java.lang.String newValue)
setItemHoverStyleClass
public void setItemHoverStyleClass(java.lang.String newValue)
setItemStyleClass
public void setItemStyleClass(java.lang.String newValue)
setMenuBarItemHoverStyleClass
public void setMenuBarItemHoverStyleClass(java.lang.String newValue)
setMenuBarItemStyleClass
public void setMenuBarItemStyleClass(java.lang.String newValue)
setMenuBarStyleClass
public void setMenuBarStyleClass(java.lang.String newValue)
setOrientation
public void setOrientation(java.lang.String newValue)
setPopup
public void setPopup(java.lang.String newValue)
setStyle
public void setStyle(java.lang.String newValue)
setStyleClass
public void setStyleClass(java.lang.String newValue)