|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.faces.taglib.IlvFacesMenuItemTag
public class IlvFacesMenuItemTag
This JSP custom tag handler manages a menu item tag instance.
This tag parent must be an IlvFacesMenuTag instance.
| Field Summary | |
|---|---|
protected javax.servlet.jsp.PageContext |
pageContext
The JSP PageContext for the page we are embedded in. |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
IlvFacesMenuItemTag()
Creates a new IlvFacesMenuItemTag 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. |
int |
doEndTag()
Process the end tag for this instance. |
int |
doStartTag()
Process the start tag for this instance. |
String |
getActionListener()
Returns the actionListener tag attribute value. |
protected int |
getDoStartReturnCode()
Returns the return code of the doStart() method. |
String |
getEnabled()
Returns the enabled tag attribute value. |
String |
getId()
Returns the id tag attribute value. |
String |
getImage()
Returns the image tag attribute value. |
String |
getInvocationContext()
Returns the actionListener tag attribute value. |
IlvMenuItem |
getItem()
Returns the IlvMenuItem instance created by this tag. |
String |
getLabel()
Returns the actionListener tag attribute value. |
String |
getOnclick()
Returns the onclick tag attribute value. |
javax.servlet.jsp.PageContext |
getPageContext()
Returns the PageContext of the page containing this
tag instance. |
javax.servlet.jsp.tagext.Tag |
getParent()
Return the Tag that is the parent of this instance. |
protected void |
handleActionListener()
Handles menu item action. |
void |
release()
Called on a Tag handler to release state. |
void |
setActionListener(String actionListener)
Sets the actionListener tag attribute value. |
void |
setEnabled(String enabled)
Sets the enabled tag attribute value. |
void |
setId(String id)
Sets the actionListener tag attribute value. |
void |
setImage(String image)
Sets the image tag attribute value. |
void |
setInvocationContext(String invocationContext)
Sets the actionListener tag attribute value. |
void |
setLabel(String label)
Sets the actionListener tag attribute value. |
void |
setOnclick(String onclick)
Sets the onclick tag attribute value. |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext)
Set the PageContext of the page containing this
tag instance. |
void |
setParent(javax.servlet.jsp.tagext.Tag parent)
Set the Tag that is the parent of this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.servlet.jsp.PageContext pageContext
The JSP PageContext for the page we are embedded in.
| Constructor Detail |
|---|
public IlvFacesMenuItemTag()
IlvFacesMenuItemTag instance.
| Method Detail |
|---|
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
Set the PageContext of the page containing this
tag instance.
setPageContext in interface javax.servlet.jsp.tagext.TagpageContext - The enclosing PageContextpublic javax.servlet.jsp.PageContext getPageContext()
PageContext of the page containing this
tag instance.
PageContext.public javax.servlet.jsp.tagext.Tag getParent()
Return the Tag that is the parent of this instance.
getParent in interface javax.servlet.jsp.tagext.Tagpublic void setParent(javax.servlet.jsp.tagext.Tag parent)
Set the Tag that is the parent of this instance.
setParent in interface javax.servlet.jsp.tagext.Tagparent - The new parent Tag
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TaggetDoStartReturnCode() value.
javax.servlet.jsp.JspExceptionprotected void handleActionListener()
onlick and the
actionListener tag attributes.
protected int getDoStartReturnCode()
Returns the return code of the doStart() method.
This implementation returns SKIP_BODY.
protected void connectToParent()
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagEVAL_PAGE.
javax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagpublic String getActionListener()
actionListener tag attribute value.
public void setActionListener(String actionListener)
actionListener tag attribute value.
actionListener - The action listener tag attribute value.public String getImage()
image tag attribute value.
public void setImage(String image)
image tag attribute value.
image - The action listener tag attribute value.public IlvMenuItem getItem()
IlvMenuItem instance created by this tag.
public IlvMenuItem createMenuItem(String label)
IlvMenuItem instance.
label - The label of the menu item.
public String getLabel()
actionListener tag attribute value.
public void setLabel(String label)
actionListener tag attribute value.
label - The label tag attribute value.public String getInvocationContext()
actionListener tag attribute value.
public void setInvocationContext(String invocationContext)
actionListener tag attribute value.
invocationContext - The invocation context tag attribute value.public String getOnclick()
onclick tag attribute value.
public void setOnclick(String onclick)
onclick tag attribute value.
onclick - The onclick tag attribute value.public String getEnabled()
enabled tag attribute value.
public void setEnabled(String enabled)
enabled tag attribute value.
enabled - The enabled tag attribute value.public String getId()
id tag attribute value.
public void setId(String id)
actionListener tag attribute value.
id - The id tag attribute value.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||