|
|||||||||||
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.TextListTag
Tag-Handler for the TextList Control
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 | |
TextListTag()
Constructor |
Method Summary | |
void |
addButton(Control button)
Adds a Tool Button to the Text Element |
void |
assignConverter(Converter converter)
Assigns a converter to the Tag |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
protected TextListControl |
getCtrl()
Retrieves the current Control instance |
protected TextListDesignModel |
getTextListDesignModel()
Returns a casted version of the ControlDesignModel |
void |
release()
|
void |
setConverter(java.lang.String converter)
Sets the Converter that should be used to convert Java Objects into their localized String representation. |
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)
Specifies the maximum number of characters for the data input. |
void |
setRows(java.lang.String rows)
Specifies the number of rows in the list element. |
void |
setSize(java.lang.String size)
Specifies the number of visible characters. |
void |
setSortOrder(java.lang.String sortOrder)
Sets the sort order of the control |
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 TextListTag()
Method Detail |
protected TextListControl getCtrl()
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected TextListDesignModel getTextListDesignModel()
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 void setSize(java.lang.String size) throws javax.servlet.jsp.JspException
size
- The size
javax.servlet.jsp.JspException
- If the argument could not be converted to integerpublic void setMaxlength(java.lang.String maxlength) throws javax.servlet.jsp.JspException
maxlength
- The maximum number of characters
javax.servlet.jsp.JspException
- If the argument could not be converted to integerpublic void setRows(java.lang.String rows) throws javax.servlet.jsp.JspException
rows
- The number of rows
javax.servlet.jsp.JspException
- If the argument could not be converted to integerpublic 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 setConverter(java.lang.String converter) throws javax.servlet.jsp.JspException
converter
- Converters class Name
javax.servlet.jsp.JspException
- If the Converter is invalidpublic void assignConverter(Converter converter)
ConversionSupportTag
assignConverter
in interface ConversionSupportTag
converter
- Converter InstanceConversionSupportTag.assignConverter(com.cc.framework.convert.Converter)
public void addButton(Control button)
addButton
in interface ButtonContainerTag
button
- The button to appendButtonContainerTag.addButton(com.cc.framework.ui.control.Control)
public void setValue(java.lang.String value)
property
attribute
setValue
in class BaseControlTag
value
- The controls valuepublic void setSortOrder(java.lang.String sortOrder) throws javax.servlet.jsp.JspException
sortOrder
- the sort order to set
javax.servlet.jsp.JspException
- If the Argument can't be converted to SortOrder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |