|
|||||||||||
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.TextareaTag
Tag-Handler for the Textare-Formularelement
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 | |
TextareaTag()
Constructor |
Method Summary | |
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 TextareaDesignModel |
getTextareaDesignModel()
Returns a casted version of the ControlDesignModel |
void |
release()
|
void |
setCols(java.lang.String cols)
Specifies the number of columns for the textarea |
void |
setConverter(java.lang.String converter)
Sets the Converter that should be used to convert Java Objects into their localized String representation. |
void |
setMaxlength(java.lang.String maxlength)
|
void |
setReadonly(java.lang.String readonly)
Specifies the readonly attribute |
void |
setRows(java.lang.String rows)
Specifies the number of rows for the textarea |
void |
setWrap(java.lang.String wrap)
The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms. |
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 TextareaTag()
Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected TextareaDesignModel getTextareaDesignModel()
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 setCols(java.lang.String cols) throws javax.servlet.jsp.JspException
cols
- The number of columns
javax.servlet.jsp.JspException
- if the Argument can not be converted into a integerpublic void setRows(java.lang.String rows) throws javax.servlet.jsp.JspException
rows
- The number of lines
javax.servlet.jsp.JspException
- if the Argument can not be converted into a integerpublic void setReadonly(java.lang.String readonly) throws javax.servlet.jsp.JspException
readonly
- true
if the textarea should be rendered as
readonly
javax.servlet.jsp.JspException
- if the Argument can not be converted into a boolean valuepublic void setMaxlength(java.lang.String maxlength) throws javax.servlet.jsp.JspException
maxlength
- The maximal length for the input value
javax.servlet.jsp.JspException
- if the Argument can not be converted into a integerpublic void setWrap(java.lang.String wrap)
wrap
- Word Wrappingpublic 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)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |