Package com.appslandia.plum.tags
Class FieldLabelTag
- java.lang.Object
-
- com.appslandia.plum.tags.TagBase
-
- com.appslandia.plum.tags.UITagBase
-
- com.appslandia.plum.tags.FieldLabelTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.DynamicAttributes,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.SimpleTag
@Tag(name="fieldLabel", bodyContent="scriptless") public class FieldLabelTag extends UITagBase
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringfieldprotected StringforIdprotected Stringformprotected StringlabelKeyprotected booleanrequired-
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 FieldLabelTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetTagName()protected booleanhasBody()protected voidinitTag()voidsetField(String field)voidsetForId(String forId)voidsetForm(String form)voidsetLabelKey(String labelKey)voidsetRequired(boolean required)protected voidwriteAttributes(javax.servlet.jsp.JspWriter out)protected voidwriteBody(javax.servlet.jsp.JspWriter out)-
Methods inherited from class com.appslandia.plum.tags.UITagBase
doTag, setClazz, setDatatag, setDynamicAttribute, setHidden, setId, setRender, setStyle, setTitle, writeDynamicAttributes, writeTag
-
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
-
initTag
protected void initTag() throws javax.servlet.jsp.JspException, IOException- Specified by:
initTagin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeAttributes
protected void writeAttributes(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Specified by:
writeAttributesin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeBody
protected void writeBody(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Overrides:
writeBodyin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
setForId
@Attribute(required=false, rtexprvalue=false) public void setForId(String forId)
-
setForm
@Attribute(required=false, rtexprvalue=false) public void setForm(String form)
-
setField
@Attribute(required=true, rtexprvalue=false) public void setField(String field)
-
setLabelKey
@Attribute(required=false, rtexprvalue=false) public void setLabelKey(String labelKey)
-
setRequired
@Attribute(required=false, rtexprvalue=true) public void setRequired(boolean required)
-
-