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:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, 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 42051 2010-04-27 12:36:19Z michiel $
- Author:
- Michiel Meeuwissen, Jaco de Groot, Gerard van de Looi
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag |
fillStandardParameters, findNode, findNodeProvider, findNodeProvider, getCloudVar, getLocale, getNode, getNode, getNodeFromPageContext, initTag, setElement, setNode |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
appendMoreParameters, doCatch, doFinally, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setPageContextOnly, 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_FORID
protected static final int TYPE_FORID
- See Also:
- Constant Field Values
TYPE_DEFAULTVALUE
protected static final int TYPE_DEFAULTVALUE
- 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_READONLYINPUT
protected static final int TYPE_READONLYINPUT
- 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(Object d)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8
getDataType
public DataType getDataType()
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8
getOrigin
public FieldInfoTag.DataTypeOrigin getOrigin()
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- Overrides:
doStartTag in class NodeReferrerTag
- Throws:
JspTagException
doEndTag
public int doEndTag()
throws JspTagException
- Write the value of the fieldinfo.
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class NodeReferrerTag
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspException
- Specified by:
doAfterBody in interface IterationTag- Overrides:
doAfterBody in class BodyTagSupport
- 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 2.0-SNAPSHOT - null