|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.cc.framework.taglib.ScriptBodyTagSupport com.cc.framework.taglib.controls.ColumnBaseTag com.cc.framework.taglib.controls.ColumnBaseBodyTag com.cc.framework.taglib.controls.ColumnComboBoxTag
Tag-Handler for the columncombobox
Tag.
Generates a select column. The <columnselect>-tag may only be used within a Taghandler which implements the com.cc.framework.taglib.controls.ColumnContainerTag Interface. These are e.g. the <list>- or the <treelist>-tag.
Field Summary | |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.taglib.controls.ColumnBaseBodyTag |
|
Fields inherited from class com.cc.framework.taglib.controls.ColumnBaseTag |
|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
ColumnComboBoxTag()
Constructor |
Method Summary | |
protected ColumnDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the column |
int |
doEndTag()
|
int |
doStartTag()
|
void |
setEmpty(java.lang.String empty)
Sets the Text for the optional empty element |
void |
setKeyProperty(java.lang.String keyProperty)
Specifies the name of the property which returns the key of the option. |
void |
setLabelProperty(java.lang.String labelProperty)
Specifies the name of the property which supplies the display text of the option. |
void |
setOptionList(OptionListDesignModel optionList,
java.lang.Object optionElements)
Sets the OptionList which is used by the Select-Control |
void |
setOptionsProperty(java.lang.String property)
Sets the property that holds the option elements for the select box (Implementation of the OptionListDatamodel interface) |
void |
setRoot(java.lang.String value)
Specifies whether the root node of the tree structure (Level 0) should be displayed or whether the display should first start at the next tree level (Level 1). |
void |
setSize(java.lang.String size)
Specifies the number of visible characters. |
Methods inherited from class com.cc.framework.taglib.controls.ColumnBaseBodyTag |
doAfterBody, getCurrent, getCurrentKey, getCurrentProperty, isCurrentEditable, isEditable, release, selectNext |
Methods inherited from class com.cc.framework.taglib.controls.ColumnBaseTag |
addDesignRule, assignConverter, getClientHandler, getContainer, getDesignModel, releaseDesignModel, setAjax, setAjax, setAlign, setAnchor, setAnchorProperty, setConverter, setDisabled, setDisableProperty, setEditable, setEditableProperty, setEnableProperty, setFilter, setImagemap, setImageProperty, setJoin, setLinkName, setLinkNameProperty, setMaxlength, setPageContext, setPermission, setProperty, setRunat, setSortable, setStyle, setStyleClass, setStyleId, setTarget, setTargetProperty, setTitle, setTooltip, setTooltipProperty, setTransaction, setType, setWidth |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setParent |
Field Detail |
private static final long serialVersionUID
Constructor Detail |
public ColumnComboBoxTag()
Method Detail |
protected ColumnDesignModel doCreateDesignModel()
ColumnBaseTag
doCreateDesignModel
in class ColumnBaseTag
ColumnBaseTag.doCreateDesignModel()
public void setEmpty(java.lang.String empty)
empty
- the empty textpublic void setOptionsProperty(java.lang.String property)
property
- The name of the propertypublic void setKeyProperty(java.lang.String keyProperty)
keyProperty
- The keyProperty to setpublic void setLabelProperty(java.lang.String labelProperty)
labelProperty
- The labelProperty to setpublic void setSize(java.lang.String size)
size
- The sizepublic void setRoot(java.lang.String value) throws javax.servlet.jsp.JspException
value
- false
if the root element should not be
displayed
javax.servlet.jsp.JspException
- if the argument can not be converted to a boolean valuepublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class ColumnBaseBodyTag
javax.servlet.jsp.JspException
Tag.doStartTag()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class ColumnBaseBodyTag
javax.servlet.jsp.JspException
Tag.doEndTag()
public void setOptionList(OptionListDesignModel optionList, java.lang.Object optionElements)
optionList
- OptionListDesignModeloptionElements
- The selected options
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |