Package com.appslandia.plum.tags
Class CheckInputTag
- java.lang.Object
-
- com.appslandia.plum.tags.TagBase
-
- com.appslandia.plum.tags.UITagBase
-
- com.appslandia.plum.tags.ValueTagBase
-
- com.appslandia.plum.tags.CheckInputTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.DynamicAttributes,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.SimpleTag
- Direct Known Subclasses:
BitMaskCheckTag,CheckboxTag,RadioTag
public abstract class CheckInputTag extends ValueTagBase
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringautocompleteprotected ObjectsubmitValueprotected booleantriggerSubmit-
Fields inherited from class com.appslandia.plum.tags.ValueTagBase
autofocus, enterBtn, enterFn, fmt, form, name, path, readonly, required, value
-
Fields inherited from class com.appslandia.plum.tags.UITagBase
clazz, datatag, dynamicAttributes, hidden, id, render, style, title
-
Fields inherited from class com.appslandia.plum.tags.TagBase
jspBody, pageContext, parentTag
-
-
Constructor Summary
Constructors Constructor Description CheckInputTag()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringgetTagName()protected abstract StringgetType()protected voidinitTag()protected abstract booleanisChecked()voidsetAutocomplete(String autocomplete)voidsetSubmitValue(Object submitValue)voidsetTriggerSubmit(boolean triggerSubmit)protected voidwriteAttributes(javax.servlet.jsp.JspWriter out)protected booleanwriteHiddenTag()-
Methods inherited from class com.appslandia.plum.tags.ValueTagBase
cssFieldError, getInvalidValue, setAutofocus, setEnterBtn, setEnterFn, setFmt, setForm, setName, setPath, setReadonly, setRequired, setValue, writeTag
-
Methods inherited from class com.appslandia.plum.tags.UITagBase
doTag, hasBody, setClazz, setDatatag, setDynamicAttribute, setHidden, setId, setRender, setStyle, setTitle, writeBody, writeDynamicAttributes
-
Methods inherited from class com.appslandia.plum.tags.TagBase
evalJspBody, getModelState, getPageContext, getParent, getRequest, getRequestContext, getResponse, setJspBody, setJspContext, setParent
-
-
-
-
Method Detail
-
getTagName
protected String getTagName()
- Specified by:
getTagNamein classUITagBase
-
getType
protected abstract String getType()
-
isChecked
protected abstract boolean isChecked()
-
initTag
protected void initTag() throws javax.servlet.jsp.JspException, IOException- Overrides:
initTagin classValueTagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeHiddenTag
protected boolean writeHiddenTag()
- Specified by:
writeHiddenTagin classValueTagBase
-
writeAttributes
protected void writeAttributes(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Specified by:
writeAttributesin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
setSubmitValue
@Attribute(required=true, rtexprvalue=true) public void setSubmitValue(Object submitValue)
-
setTriggerSubmit
@Attribute(required=false, rtexprvalue=false) public void setTriggerSubmit(boolean triggerSubmit)
-
setAutocomplete
@Attribute(required=false, rtexprvalue=false) public void setAutocomplete(String autocomplete)
-
-