|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.cc.framework.taglib.ScriptTagSupport com.cc.framework.taglib.controls.BaseControlTag com.cc.framework.taglib.controls.ComboBoxTag
Tag-Handler for the ComboBoxTag
Field Summary | |
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 | |
ComboBoxTag()
Constructor |
Method Summary | |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
protected ComboBoxDesignModel |
getComboBoxDesignModel()
Returns a casted version of the ControlDesignModel |
protected ComboBoxControl |
getCtrl()
Retrieves the current Control instance |
OptionsComparator |
getOptionsComparator()
Returns an option comparator for this control |
void |
release()
|
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the text element can be activated or disabled with the filter-attribute |
void |
setMaxlength(java.lang.String maxLength)
Sets the maximum number of input characters to accept. |
void |
setOptionList(OptionListDesignModel optionList,
java.lang.Object optionElements)
Sets the OptionList which is used by the Select-Control |
void |
setSize(java.lang.String size)
Specifies the number of visible characters. |
void |
setValue(java.lang.String value)
Sets the direct value for this control. |
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, setPageContext, setPermission, setProperty, setRunat, setScope, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabindex, setTooltip, setTransaction, 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
Constructor Detail |
public ComboBoxTag()
Method Detail |
protected ComboBoxControl getCtrl()
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected ComboBoxDesignModel getComboBoxDesignModel()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseControlTag
Tag.release()
protected 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 OptionsComparator getOptionsComparator()
public void setSize(java.lang.String size) throws javax.servlet.jsp.JspException
size
- The size
javax.servlet.jsp.JspException
- If the Argument can't be converted to intpublic void setMaxlength(java.lang.String maxLength) throws javax.servlet.jsp.JspException
maxLength
- The maximum number of input characters to accept.
javax.servlet.jsp.JspException
- If the Argument can't be converted to intpublic void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
filter
- true
if the text should be HTML encoded.
javax.servlet.jsp.JspException
- If the Argument can't be converted to a booleanpublic void setOptionList(OptionListDesignModel optionList, java.lang.Object optionElements)
optionList
- OptionListDesignModeloptionElements
- The selected optionspublic void setValue(java.lang.String value)
property
attribute
setValue
in class BaseControlTag
value
- The controls value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |