|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.ScriptTagSupport
com.cc.framework.taglib.controls.BaseControlTag
com.cc.framework.taglib.menu.CrumbsTag
Tag-Handler for the crumbs
Tag.
Generates a CrumbsControl.
Field Summary | |
private java.lang.String |
selectedCrumb
The current selected crumb |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.taglib.controls.BaseControlTag |
log |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
CrumbsTag()
Constructor |
Method Summary | |
void |
addCrumb(CrumbModel crumb)
Adds a Crumb to the Crumb Container |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
protected CrumbsDesignModel |
getCrumbsDesignModel()
Returns a casted version of the ControlDesignModel |
boolean |
isSelected(CrumbModel crumb)
Returns if the specified crumb is selected |
void |
release()
|
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the crumbs can be activated or disabled with the filter-attribute. |
void |
setImagemap(java.lang.String mapName)
With this attribute, an ImageList is assigned to the crumbs, with the help of which images can be assigned to the individual crumbs. |
void |
setLabellength(java.lang.String length)
Specifies the maximum number of characters for the labels of a crumb. |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setSelected(java.lang.String selected)
Sets the code of the current selected crumb |
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, doStartTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, releaseDesignModel, setAction, setAjax, setAjax, setBorder, setDirectValue, setDisabled, setFormElement, setHeight, setHelp, setId, setLocale, setName, setPermission, setProperty, setRunat, setScope, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabindex, setTooltip, setTransaction, setValue, setWidth |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.String selectedCrumb
Constructor Detail |
public CrumbsTag()
Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected CrumbsDesignModel getCrumbsDesignModel()
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
setPageContext
in class BaseControlTag
Tag.setPageContext(PageContext pc)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseControlTag
Tag.release()
public boolean isSelected(CrumbModel crumb)
crumb
- CrumbDesignModel
public void setSelected(java.lang.String selected)
selected
- Crumb identifierprotected Control doCreateControl() throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl
in class BaseControlTag
javax.servlet.jsp.JspException
- If an error during bean lookup occursBaseControlTag.doCreateControl()
public void setImagemap(java.lang.String mapName) throws javax.servlet.jsp.JspException
mapName
- The ImageMap to assign
javax.servlet.jsp.JspException
- If the ImageMap could not be foundpublic void setLabellength(java.lang.String length) throws javax.servlet.jsp.JspException
length
- The maximum number of characters for the labels of a crumbs
javax.servlet.jsp.JspException
- If the Argument can't be converted to integerpublic void addCrumb(CrumbModel crumb)
CrumbContainer
addCrumb
in interface CrumbContainer
crumb
- CrumbDesignModelCrumbContainer.addCrumb(com.cc.framework.ui.model.CrumbModel)
public void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
true
filter
- true
if the crumbs should be HTML encoded.
javax.servlet.jsp.JspException
- If the Argument can't be converted to boolean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |