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.
pageContext
bodyContent, UNIQUE_ID_PREFIX
Constructor and Description |
---|
IlvFacesMenuTag()
Creates a new
IlvFacesMenuTag instance. |
Modifier and Type | Method and Description |
---|---|
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. |
int |
doAfterBody()
Perform any processing necessary to handle the content implications of
CASE 4 in the class description.
|
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
|
doEndTag, doStartTag, getBaseTextDirection, getComponentType, getEnabled, getId, getImage, getInvocationContext, getItem, getLabel, getOnclick, getPageContext, getParent, getRendererType, handleActionListener, initBaseTextDirection, release, setBaseTextDirection, setEnabled, setId, setImage, setInvocationContext, setLabel, setOnclick, setPageContext, setParent
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setProperties, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doInitBody, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getIndexOfNextChildTag, getJspId, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setJspId, setupResponseWriter
public void setActionListener(String actionListener)
setActionListener
in class IlvFacesMenuItemTag
actionListener
- This parameter is ignored.public String getActionListener()
null
cannot be registered on menus.getActionListener
in class IlvFacesMenuItemTag
public IlvMenuItem createMenuItem(String label)
IlvMenuItem
instance.createMenuItem
in class IlvFacesMenuItemTag
label
- The label of the menu item.protected void connectToParent()
connectToParent
in class IlvFacesMenuItemTag
protected int getDoStartReturnCode()
Returns the return code of the doStart()
method.
This implementation returns EVAL_BODY_INCLUDE
.
getDoStartReturnCode
in class IlvFacesMenuItemTag
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.faces.webapp.UIComponentClassicTagBase
Tag.SKIP_BODY
javax.servlet.jsp.JspException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.