|
|||||||||||
| 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.controls.TextTag
Tag-Handler for the text form element
| 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 | |
TextTag()
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 TextControl |
getCtrl()
Retrieves the current Control instance |
protected TextDesignModel |
getTextDesignModel()
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 |
setInputType(InputFieldType inputType)
Sets the type of the input field |
void |
setMaxlength(java.lang.String maxlength)
Specifies the maximum number of characters for the data input. |
void |
setSize(java.lang.String size)
Specifies the number of visible characters. |
| 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, 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
| Constructor Detail |
public TextTag()
| Method Detail |
protected TextControl getCtrl()
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel in class BaseControlTagBaseControlTag.doCreateDesignModel()protected TextDesignModel getTextDesignModel()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class BaseControlTagTag.release()
protected Control doCreateControl()
throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl in class BaseControlTagjavax.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 integer
public 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 setInputType(InputFieldType inputType)
inputType - The input field typeInputFieldType
public 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 boolean
public 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 ConversionSupportTagconverter - Converter InstanceConversionSupportTag.assignConverter(com.cc.framework.convert.Converter)public void addButton(Control button)
addButton in interface ButtonContainerTagbutton - The button to appendButtonContainerTag.addButton(com.cc.framework.ui.control.Control)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||