org.mmbase.bridge.jsp.taglib
Class FieldInfoTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.CloudReferrerTag
org.mmbase.bridge.jsp.taglib.NodeReferrerTag
org.mmbase.bridge.jsp.taglib.FieldReferrerTag
org.mmbase.bridge.jsp.taglib.FieldInfoTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, Writer
- public class FieldInfoTag
- extends FieldReferrerTag
- implements Writer
The FieldInfoTag can be used as a child of a 'FieldProvider' to
provide info about the field or fieldtype.
- Version:
- $Id: FieldInfoTag.java,v 1.73.2.2 2004/07/26 20:12:17 nico Exp $
- Author:
- Michiel Meeuwissen, Jaco de Groot, Gerard van de Looi
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setParent |
TYPE_NAME
protected static final int TYPE_NAME
- See Also:
- Constant Field Values
TYPE_GUINAME
protected static final int TYPE_GUINAME
- See Also:
- Constant Field Values
TYPE_VALUE
protected static final int TYPE_VALUE
- See Also:
- Constant Field Values
TYPE_GUIVALUE
protected static final int TYPE_GUIVALUE
- See Also:
- Constant Field Values
TYPE_TYPE
protected static final int TYPE_TYPE
- See Also:
- Constant Field Values
TYPE_GUITYPE
protected static final int TYPE_GUITYPE
- See Also:
- Constant Field Values
TYPE_DESCRIPTION
protected static final int TYPE_DESCRIPTION
- See Also:
- Constant Field Values
TYPE_UNSET
protected static final int TYPE_UNSET
- See Also:
- Constant Field Values
TYPE_INPUT
protected static final int TYPE_INPUT
- See Also:
- Constant Field Values
TYPE_USEINPUT
protected static final int TYPE_USEINPUT
- See Also:
- Constant Field Values
TYPE_SEARCHINPUT
protected static final int TYPE_SEARCHINPUT
- See Also:
- Constant Field Values
TYPE_USESEARCHINPUT
protected static final int TYPE_USESEARCHINPUT
- See Also:
- Constant Field Values
TYPE_REUSESEARCHINPUT
protected static final int TYPE_REUSESEARCHINPUT
- See Also:
- Constant Field Values
type
protected Attribute type
container
protected Attribute container
FieldInfoTag
public FieldInfoTag()
getSessionName
public java.lang.String getSessionName()
setType
public void setType(java.lang.String t)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getType
protected int getType()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setOptions
public void setOptions(java.lang.String o)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getOptions
public java.lang.String getOptions()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getTypeHandler
protected TypeHandler getTypeHandler(int type)
- Answer the type handler for the given type.
The type handler is responsible for showing the html
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
- Throws:
javax.servlet.jsp.JspTagException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspTagException
- Write the value of the fieldinfo.
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
javax.servlet.jsp.JspTagException
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
- Throws:
javax.servlet.jsp.JspException
decode
public java.lang.String decode(java.lang.String value,
Node n)
throws javax.servlet.jsp.JspTagException
- decode and encode can be overriden.
- Throws:
javax.servlet.jsp.JspTagException
encode
public java.lang.String encode(java.lang.String value,
Field f)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.1.20041002