ilog.views.faces.taglib
Class IlvFacesMenuTag

java.lang.Object
  extended by ilog.views.faces.taglib.IlvFacesMenuItemTag
      extended by ilog.views.faces.taglib.IlvFacesMenuTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class IlvFacesMenuTag
extends IlvFacesMenuItemTag

This JSP custom tag handler manages a menu item tag instance.

This tag parent can either be an IlvFacesMenuTag or an IlvContextualMenuTag instance.

Since:
JViews 7.5

Field Summary
 
Fields inherited from class ilog.views.faces.taglib.IlvFacesMenuItemTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
IlvFacesMenuTag()
          Creates a new IlvFacesMenuTag instance.
 
Method Summary
protected  void connectToParent()
          Connects the item created by this tag to the parent tag's item.
 IlvMenuItem createMenuItem(String label)
          Returns a new IlvMenuItem instance.
 String getActionListener()
          This implementation returns null cannot be registered on menus.
protected  int getDoStartReturnCode()
          Returns the return code of the doStart() method.
 void setActionListener(String actionListener)
          This implementation does nothing as action listener cannot be registered on menus
 
Methods inherited from class ilog.views.faces.taglib.IlvFacesMenuItemTag
doEndTag, doStartTag, getEnabled, getId, getImage, getInvocationContext, getItem, getLabel, getOnclick, getPageContext, getParent, handleActionListener, release, setEnabled, setId, setImage, setInvocationContext, setLabel, setOnclick, setPageContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvFacesMenuTag

public IlvFacesMenuTag()
Creates a new IlvFacesMenuTag instance.

Method Detail

setActionListener

public void setActionListener(String actionListener)
This implementation does nothing as action listener cannot be registered on menus

Overrides:
setActionListener in class IlvFacesMenuItemTag
Parameters:
actionListener - This parameter is ignored.

getActionListener

public String getActionListener()
This implementation returns null cannot be registered on menus.

Overrides:
getActionListener in class IlvFacesMenuItemTag
Returns:
The action listener tag attribute value.

createMenuItem

public IlvMenuItem createMenuItem(String label)
Returns a new IlvMenuItem instance.

Overrides:
createMenuItem in class IlvFacesMenuItemTag
Parameters:
label - The label of the menu item.
Returns:
A new menu item instance.

connectToParent

protected void connectToParent()
Connects the item created by this tag to the parent tag's item.

Overrides:
connectToParent in class IlvFacesMenuItemTag

getDoStartReturnCode

protected int getDoStartReturnCode()

Returns the return code of the doStart() method.

This implementation returns EVAL_BODY_INCLUDE.

Overrides:
getDoStartReturnCode in class IlvFacesMenuItemTag
Returns:
The doStart return code.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.