|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--org.chwf.taglib.base.LifeCycleTagSupport | +--org.chwf.taglib.base.ObjectTagSupport | +--org.chwf.taglib.jhtml.FieldTagSupport | +--org.chwf.taglib.jhtml.InputTag
Tag handler for the <input>
tag.
Field Summary | |
static java.lang.String |
TRUE_STRING
Constant for true string values. |
Fields inherited from class org.chwf.taglib.base.ObjectTagSupport |
DEFAULT_OBJECT |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface org.chwf.plugin.ValidationData |
TYPE_CHECKBOX, TYPE_FIXED, TYPE_HIDDEN, TYPE_PASSWORD, TYPE_SELECT, TYPE_TEXT, TYPE_TEXTAREA |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
InputTag()
|
Method Summary | |
void |
cleanup()
Clean up data for tag handler reuse and pooling. |
int |
doStart()
Print the input element. |
java.util.Map |
getOptionsMap()
The option map for select lists. |
java.lang.String |
getType()
Gets the input element type. |
java.lang.Boolean |
getValidations()
Whether validations are supported. |
void |
init()
Initialization. |
void |
setAccept(java.lang.String value)
Pass-through attribute. |
void |
setAccesskey(java.lang.String value)
Pass-through attribute. |
void |
setCols(java.lang.String value)
Pass-through attribute. |
void |
setDisabled(java.lang.String value)
Pass-through attribute. |
void |
setId(java.lang.String value)
Pass-through attribute. |
void |
setLang(java.lang.String value)
Pass-through attribute. |
void |
setMaxlength(java.lang.String value)
Pass-through attribute. |
void |
setName(java.lang.String name)
Calls superclass method. |
void |
setObject(java.lang.String objectName)
Calls superclass method. |
void |
setOptions(java.lang.String options)
The name of the web application variable containing input items options. |
void |
setProperty(java.lang.String property)
Calls superclass method. |
void |
setRows(java.lang.String value)
Pass-through attribute. |
void |
setSize(java.lang.String value)
Pass-through attribute. |
void |
setStyle(java.lang.String value)
Pass-through attribute. |
void |
setStyleClass(java.lang.String value)
Pass-through attribute. |
void |
setTitle(java.lang.String value)
Pass-through attribute. |
void |
setType(java.lang.String type)
Set the input element type. |
void |
setValidations(java.lang.Boolean validations)
Whether validations are supported. |
void |
setWrap(java.lang.String value)
Pass-through attribute. |
Methods inherited from class org.chwf.taglib.jhtml.FieldTagSupport |
deriveLabel, getBeanFilter, getFieldValue, getFormTag, getLocalizedAttribute, getName, getPropertyAttribute |
Methods inherited from class org.chwf.taglib.base.ObjectTagSupport |
findObject, getEl, getObject, getProperty, getTagResult, getTagResult, getVar, setEl, setVar, storeDefaultObject |
Methods inherited from class org.chwf.taglib.base.LifeCycleTagSupport |
addAttribute, addParameter, doEnd, doEndTag, doStartTag, getAttribute, getAttributeNames, getParameter, getParameterNames, printAttributes |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.chwf.plugin.ValidationData |
getLocalizedAttribute, getName, getPropertyAttribute |
Field Detail |
public static final java.lang.String TRUE_STRING
Constructor Detail |
public InputTag()
Method Detail |
public void cleanup()
super.cleanup()
cleanup
in class FieldTagSupport
public void setObject(java.lang.String objectName) throws javax.servlet.jsp.JspException
setObject
in class ObjectTagSupport
objectName
- The object name.javax.servlet.jsp.JspException
- For errors.public void setProperty(java.lang.String property) throws javax.servlet.jsp.JspException
setProperty
in class ObjectTagSupport
property
- The property name.javax.servlet.jsp.JspException
- For errors.public void setName(java.lang.String name)
setName
in class FieldTagSupport
name
- The field name.public void setType(java.lang.String type) throws javax.servlet.jsp.JspException
type
- The input type.javax.servlet.jsp.JspException
- If the type is not one of the known input
element types, defined as TYPE_XXX constants.public java.lang.String getType() throws javax.servlet.jsp.JspException
getType
in interface ValidationData
javax.servlet.jsp.JspException
- If the property cannot be initializedpublic void setValidations(java.lang.Boolean validations)
validations
- Whether validations are supported.public java.lang.Boolean getValidations()
public void setOptions(java.lang.String options)
options
- The variable name for options.public java.util.Map getOptionsMap() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- If the option map cannot be found.public void setStyleClass(java.lang.String value)
value
- The attribute value.public void setId(java.lang.String value)
setId
in class javax.servlet.jsp.tagext.TagSupport
value
- The attribute value.public void setLang(java.lang.String value)
value
- The attribute value.public void setStyle(java.lang.String value)
value
- The attribute value.public void setTitle(java.lang.String value)
value
- The attribute value.public void setAccept(java.lang.String value)
value
- The attribute value.public void setAccesskey(java.lang.String value)
value
- The attribute value.public void setDisabled(java.lang.String value)
value
- The attribute value.public void setMaxlength(java.lang.String value)
value
- The attribute value.public void setSize(java.lang.String value)
value
- The attribute value.public void setCols(java.lang.String value)
value
- The attribute value.public void setRows(java.lang.String value)
value
- The attribute value.public void setWrap(java.lang.String value)
value
- The attribute value.public void init() throws javax.servlet.jsp.JspException
init
in class LifeCycleTagSupport
javax.servlet.jsp.JspException
- For errors.public int doStart() throws java.io.IOException, javax.servlet.jsp.JspException
doStart
in class LifeCycleTagSupport
javax.servlet.jsp.JspException
- If the property cannot be initialized.java.io.IOException
- For IO exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |