Package com.jalios.jcms.taglib
Class FieldTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.FieldTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class FieldTag extends IncludeTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ANY_LANG
static java.lang.String
CPT_FIELD
static java.lang.String
CPT_LANG
static java.lang.String
CPT_MAX
static java.lang.String
FIELD_CONTROL_CSS
static java.lang.String
FIELD_DISABLED
static java.lang.String
FIELD_ENTRY
static java.lang.String
FIELD_ID
static java.lang.String
FIELD_KEYWORD
static java.lang.String
FIELD_LABEL
static java.lang.String
FIELD_LABEL_ID
static java.lang.String
FIELD_MULTILINGUAL
static java.lang.String
FIELD_MULTIVALUED
static java.lang.String
FIELD_NAME
static java.lang.String
FIELD_READONLY
static java.lang.String
FIELD_REQUIRED
static java.lang.String
FIELD_RESOURCE
static java.lang.String
FIELD_VALUE
static java.lang.String
FIELD_VALUES
static java.lang.String
FORM_HANDLER
static java.lang.String
REVISION
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description FieldTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doAfterBody()
protected void
doBeforeBody()
Called on Init Body and for each body loopsint
doEndTag()
int
doStartTag()
void
setCol(int col)
protected void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCss(java.lang.String css)
void
setDescription(java.lang.String description)
void
setDisabled(boolean isDisabled)
void
setFieldGroup(java.lang.String fieldGroup)
void
setFormHandler(JcmsFormHandler formHandler)
void
setId(java.lang.String id)
void
setKeyword(boolean isKeyword)
void
setLabel(java.lang.String label)
void
setMl(boolean ml)
void
setMv(int mv)
void
setName(java.lang.String name)
void
setReadOnly(boolean isReadOnly)
void
setRequired(boolean isRequired)
void
setTab(boolean isTab)
void
setTooltip(java.lang.String tooltip)
void
setUnescape(boolean unescape)
void
setValue(java.lang.Object values)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doInitBody, getClazz, getFile, getId, getIncludeObject, getIncludeString, getJsp, getPub, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, setClazz, setFile, setIncludeString, setJsp, setPub, setResource, setTarget, setTargetContext, setUsage, skipInclude
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
ANY_LANG
public static final java.lang.String ANY_LANG
- See Also:
- Constant Field Values
-
FIELD_NAME
public static final java.lang.String FIELD_NAME
- See Also:
- Constant Field Values
-
FIELD_VALUE
public static final java.lang.String FIELD_VALUE
- See Also:
- Constant Field Values
-
FIELD_VALUES
public static final java.lang.String FIELD_VALUES
- See Also:
- Constant Field Values
-
FIELD_ID
public static final java.lang.String FIELD_ID
- See Also:
- Constant Field Values
-
FIELD_LABEL
public static final java.lang.String FIELD_LABEL
- See Also:
- Constant Field Values
-
FIELD_LABEL_ID
public static final java.lang.String FIELD_LABEL_ID
- See Also:
- Constant Field Values
-
FIELD_RESOURCE
public static final java.lang.String FIELD_RESOURCE
- See Also:
- Constant Field Values
-
CPT_LANG
public static final java.lang.String CPT_LANG
- See Also:
- Constant Field Values
-
CPT_FIELD
public static final java.lang.String CPT_FIELD
- See Also:
- Constant Field Values
-
CPT_MAX
public static final java.lang.String CPT_MAX
- See Also:
- Constant Field Values
-
FIELD_DISABLED
public static final java.lang.String FIELD_DISABLED
- See Also:
- Constant Field Values
-
FIELD_READONLY
public static final java.lang.String FIELD_READONLY
- See Also:
- Constant Field Values
-
FIELD_REQUIRED
public static final java.lang.String FIELD_REQUIRED
- See Also:
- Constant Field Values
-
FIELD_MULTILINGUAL
public static final java.lang.String FIELD_MULTILINGUAL
- See Also:
- Constant Field Values
-
FIELD_MULTIVALUED
public static final java.lang.String FIELD_MULTIVALUED
- See Also:
- Constant Field Values
-
FIELD_KEYWORD
public static final java.lang.String FIELD_KEYWORD
- See Also:
- Constant Field Values
-
FIELD_CONTROL_CSS
public static final java.lang.String FIELD_CONTROL_CSS
- See Also:
- Constant Field Values
-
FORM_HANDLER
public static final java.lang.String FORM_HANDLER
- See Also:
- Constant Field Values
-
FIELD_ENTRY
public static final java.lang.String FIELD_ENTRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody
in interfacejavax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classIncludeTag
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
doBeforeBody
protected void doBeforeBody()
Description copied from class:IncludeTag
Called on Init Body and for each body loops- Overrides:
doBeforeBody
in classIncludeTag
-
setContext
protected void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classIncludeTag
-
setFormHandler
public void setFormHandler(JcmsFormHandler formHandler)
-
setName
public void setName(java.lang.String name)
-
setLabel
public void setLabel(java.lang.String label)
-
setDescription
public void setDescription(java.lang.String description)
-
setTooltip
public void setTooltip(java.lang.String tooltip)
-
setMl
public void setMl(boolean ml)
-
setId
public void setId(java.lang.String id)
- Overrides:
setId
in classIncludeTag
-
setMv
public void setMv(int mv)
-
setCol
public void setCol(int col)
-
setValue
public void setValue(java.lang.Object values)
-
setDisabled
public void setDisabled(boolean isDisabled)
-
setReadOnly
public void setReadOnly(boolean isReadOnly)
-
setRequired
public void setRequired(boolean isRequired)
-
setTab
public void setTab(boolean isTab)
-
setKeyword
public void setKeyword(boolean isKeyword)
-
setCss
public void setCss(java.lang.String css)
-
setFieldGroup
public void setFieldGroup(java.lang.String fieldGroup)
-
setUnescape
public void setUnescape(boolean unescape)
-
-