com.infragistics.faces.menu.taglib.html
Class MenuItemTag

java.lang.Object
  extended byjavax.faces.webapp.UIComponentTag
      extended bycom.infragistics.faces.menu.taglib.html.MenuItemTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public class MenuItemTag
extends javax.faces.webapp.UIComponentTag

JSP Tags For The menuItem 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:menuItem >
 

Attributes

Name Type Default Description
action MethodBinding "" MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application
actionListener MethodBinding "" MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void
converter Converter "" Converter instance registered with this component.
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
disabled boolean "" MenuItem's input sensitivity status. Disabled menu items may not be selected by the user and are visibly disabled.
hoverIconUrl String "" URL for image displayed when the mouse is moves over the item
hoverStyleClass String "" Space-separated list of CSS style class(es) applied to this MenuItem when them mouse is it.
href String "" Target URL to which to navigate when the node is selected. If both action and href are specified, href is used
iconUrl String "" URL for image displayed by default in the item
immediate boolean "" flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase
shortcut String "" Shorcut key associated with the menu item. A platform dependent modifier (alt, shift etc) is automatically added.
style String "" CSS style applied by default to this MenuItem.
styleClass String "" Space-separated list of CSS style class(es) applied when this MenuItem is rendered.
target String "" Target frame and/or window that will receive the result of this action
tooltip String "" Tooltip string associated with this item. The string is automatically displayed in the browser status bar or as a popup tooltip where appropriate.
value Object "" The current value of this component


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
MenuItemTag()
          Constructor
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setAction(java.lang.String newValue)
           
 void setActionListener(java.lang.String newValue)
           
 void setConverter(java.lang.String newValue)
           
 void setDataKeyName(java.lang.String newValue)
           
 void setDataSource(java.lang.String newValue)
           
 void setDisabled(java.lang.String newValue)
           
 void setHoverIconUrl(java.lang.String newValue)
           
 void setHoverStyleClass(java.lang.String newValue)
           
 void setHref(java.lang.String newValue)
           
 void setIconUrl(java.lang.String newValue)
           
 void setImmediate(java.lang.String newValue)
           
 void setShortcut(java.lang.String newValue)
           
 void setStyle(java.lang.String newValue)
           
 void setStyleClass(java.lang.String newValue)
           
 void setTarget(java.lang.String newValue)
           
 void setTooltip(java.lang.String newValue)
           
 void setValue(java.lang.String newValue)
           
 
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
 

Constructor Detail

MenuItemTag

public MenuItemTag()

Constructor

Method Detail

getComponentType

public java.lang.String getComponentType()

getRendererType

public java.lang.String getRendererType()

release

public void release()

setAction

public void setAction(java.lang.String newValue)

setActionListener

public void setActionListener(java.lang.String newValue)

setConverter

public void setConverter(java.lang.String newValue)

setDataKeyName

public void setDataKeyName(java.lang.String newValue)

setDataSource

public void setDataSource(java.lang.String newValue)

setDisabled

public void setDisabled(java.lang.String newValue)

setHoverIconUrl

public void setHoverIconUrl(java.lang.String newValue)

setHoverStyleClass

public void setHoverStyleClass(java.lang.String newValue)

setHref

public void setHref(java.lang.String newValue)

setIconUrl

public void setIconUrl(java.lang.String newValue)

setImmediate

public void setImmediate(java.lang.String newValue)

setShortcut

public void setShortcut(java.lang.String newValue)

setStyle

public void setStyle(java.lang.String newValue)

setStyleClass

public void setStyleClass(java.lang.String newValue)

setTarget

public void setTarget(java.lang.String newValue)

setTooltip

public void setTooltip(java.lang.String newValue)

setValue

public void setValue(java.lang.String newValue)