|
|||||||||
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 | +--org.chwf.taglib.jhtml.FieldTag
Tag handler for the <field>
tag.
Fields inherited from class org.chwf.taglib.jhtml.InputTag |
TRUE_STRING |
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 | |
FieldTag()
|
Method Summary | |
void |
cleanup()
Clean up data for tag handler reuse and pooling. |
int |
doStart()
Print the field info. |
java.lang.String |
getErrorMessage()
The error message (or null if there is no message). |
boolean |
hasErrorMessage()
True if the field has an error message. |
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.InputTag |
getOptionsMap, getType, getValidations, init |
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 |
Constructor Detail |
public FieldTag()
Method Detail |
public void cleanup()
super.cleanup()
cleanup
in class InputTag
public void setObject(java.lang.String objectName) throws javax.servlet.jsp.JspException
setObject
in class InputTag
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 InputTag
property
- The property name.javax.servlet.jsp.JspException
- For errors.public void setName(java.lang.String name)
setName
in class InputTag
name
- The field name.public void setType(java.lang.String type) throws javax.servlet.jsp.JspException
setType
in class InputTag
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 void setValidations(java.lang.Boolean validations)
setValidations
in class InputTag
validations
- Whether validations are supported.public void setOptions(java.lang.String options)
setOptions
in class InputTag
options
- The variable name for options.public void setStyleClass(java.lang.String value)
setStyleClass
in class InputTag
value
- The attribute value.public void setId(java.lang.String value)
setId
in class InputTag
value
- The attribute value.public void setLang(java.lang.String value)
setLang
in class InputTag
value
- The attribute value.public void setStyle(java.lang.String value)
setStyle
in class InputTag
value
- The attribute value.public void setTitle(java.lang.String value)
setTitle
in class InputTag
value
- The attribute value.public void setAccept(java.lang.String value)
setAccept
in class InputTag
value
- The attribute value.public void setAccesskey(java.lang.String value)
setAccesskey
in class InputTag
value
- The attribute value.public void setDisabled(java.lang.String value)
setDisabled
in class InputTag
value
- The attribute value.public void setMaxlength(java.lang.String value)
setMaxlength
in class InputTag
value
- The attribute value.public void setSize(java.lang.String value)
setSize
in class InputTag
value
- The attribute value.public void setCols(java.lang.String value)
setCols
in class InputTag
value
- The attribute value.public void setRows(java.lang.String value)
setRows
in class InputTag
value
- The attribute value.public void setWrap(java.lang.String value)
setWrap
in class InputTag
value
- The attribute value.public boolean hasErrorMessage()
public java.lang.String getErrorMessage()
null
if there is no message).public int doStart() throws java.io.IOException, javax.servlet.jsp.JspException
doStart
in class InputTag
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 |