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:
- BodyTag, IterationTag, Serializable, 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.97 2006/07/05 10:00:09 michiel Exp $
- Author:
- Michiel Meeuwissen, Jaco de Groot, Gerard van de Looi
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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_TYPEDESCRIPTION
protected static final int TYPE_TYPEDESCRIPTION
- See Also:
- Constant Field Values
TYPE_DATATYPE
protected static final int TYPE_DATATYPE
- See Also:
- Constant Field Values
TYPE_DATATYPEDESCRIPTION
protected static final int TYPE_DATATYPEDESCRIPTION
- See Also:
- Constant Field Values
TYPE_DATATYPEXML
protected static final int TYPE_DATATYPEXML
- 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_CHECK
protected static final int TYPE_CHECK
- See Also:
- Constant Field Values
TYPE_ERRORS
protected static final int TYPE_ERRORS
- 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 String getSessionName()
setType
public void setType(String t)
throws JspTagException
- Throws:
JspTagException
getType
protected int getType()
throws JspTagException
- Throws:
JspTagException
setOptions
public void setOptions(String o)
throws JspTagException
- Throws:
JspTagException
getOptions
public String getOptions()
throws JspTagException
- Throws:
JspTagException
setDatatype
public void setDatatype(String d)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8
getDataType
public DataType getDataType()
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8
getTypeHandler
protected TypeHandler getTypeHandler(Field field)
- Answer the type handler for the given type.
The type handler is responsible for showing the html
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag
- Throws:
JspTagException
doEndTag
public int doEndTag()
throws JspTagException
- Write the value of the fieldinfo.
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspException
- Specified by:
doAfterBody in interface IterationTag
- Throws:
JspException
getPrefix
public String getPrefix()
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8
decode
public String decode(String value,
Node n)
throws JspTagException
- decode and encode can be overriden.
- Throws:
JspTagException
encode
public String encode(String value,
Field f)
throws JspTagException
- Throws:
JspTagException
MMBase build 1.8.1.20060716