java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.BaseHandlerTag
com.RuntimeCollective.webapps.tag.TreeBreadcrumbTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class TreeBreadcrumbTag
- extends org.apache.struts.taglib.html.BaseHandlerTag
View the breadcrumb trail for a given TreeExtension.
This JSP tag takes the following attributes:
-
name - the name under which the TreeExtension is stored.
-
scope - the scope under which the TreeExtension is stored [Optional].
-
property - if the TreeExtension is not stored in "name", but in "name.property" [Optional].
-
displayProperty - the property to use to render each TreeExtension.getEntityBean() in the breadcrumb, defaults to "name".
-
displayPath - the path to use to render the links in the breadcrumb (eg "/viewNode.jsp?id="), only relevent if asLinks is set to true [Optional].
-
asLinks - whether the breadcrumb items are links to pages or not, default to false [Optional].
-
styleClass - a CSS style type to use [Optional].
- Version:
- $Id: TreeBreadcrumbTag.java,v 1.4 2003/09/30 15:13:18 joe Exp $
| Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareName, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleId, setTabindex, setTitle, setTitleKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
property
protected java.lang.String property
scope
protected java.lang.String scope
displayProperty
protected java.lang.String displayProperty
displayPath
protected java.lang.String displayPath
asLinks
protected boolean asLinks
styleClass
protected java.lang.String styleClass
TreeBreadcrumbTag
public TreeBreadcrumbTag()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getProperty
public java.lang.String getProperty()
setProperty
public void setProperty(java.lang.String property)
getScope
public java.lang.String getScope()
setScope
public void setScope(java.lang.String scope)
getDisplayProperty
public java.lang.String getDisplayProperty()
setDisplayProperty
public void setDisplayProperty(java.lang.String displayProperty)
getDisplayPath
public java.lang.String getDisplayPath()
setDisplayPath
public void setDisplayPath(java.lang.String displayPath)
getAsLinks
public boolean getAsLinks()
setAsLinks
public void setAsLinks(boolean asLinks)
getStyleClass
public java.lang.String getStyleClass()
- Description copied from class:
org.apache.struts.taglib.html.BaseHandlerTag
- Returns the style class attribute.
setStyleClass
public void setStyleClass(java.lang.String styleClass)
- Description copied from class:
org.apache.struts.taglib.html.BaseHandlerTag
- Sets the style class attribute.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Description copied from class:
javax.servlet.jsp.tagext.BodyTagSupport
- Default processing of the start tag returning EVAL_BODY_BUFFERED.
release
public void release()
- Description copied from class:
org.apache.struts.taglib.html.BaseHandlerTag
- Release any acquired resources.