org.mmbase.bridge.jsp.taglib
Class FieldReferrerTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended by org.mmbase.bridge.jsp.taglib.CloudReferrerTag
                  extended by org.mmbase.bridge.jsp.taglib.NodeReferrerTag
                      extended by org.mmbase.bridge.jsp.taglib.FieldReferrerTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally
Direct Known Subclasses:
FieldInfoTag, FieldListTag, FieldTag, IsNullTag

public abstract class FieldReferrerTag
extends NodeReferrerTag

A fieldreferrer tag is a tag which needs (or can use) a 'field' to operate on. The most evident example is the FieldInfo tag. Field itself is a FieldReferrer too (it can reuse another one)

Version:
$Id: FieldReferrerTag.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Michiel Meeuwissen
See Also:
FieldInfoTag, Serialized Form

Field Summary
protected  Attribute parentFieldId
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
parentNodeId
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
cloudId
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, EVAL_BODY, helper, id, pageContextTag, referid, writerid
 
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
 
Constructor Summary
FieldReferrerTag()
           
 
Method Summary
 FieldProvider findFieldProvider()
           
 FieldProvider findFieldProvider(boolean ex)
          This method tries to find an ancestor object of type NodeProvider
protected  Field getField()
           
 void setField(String field)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
doEndTag, doStartTag, fillStandardParameters, findNode, findNodeProvider, findNodeProvider, getCloudVar, getLocale, getNode, getNode, getNodeFromPageContext, initTag, setElement, setNode
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloudContext, getNode, getNodeOrNull, setCloud
 
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 javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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
 

Field Detail

parentFieldId

protected Attribute parentFieldId
Constructor Detail

FieldReferrerTag

public FieldReferrerTag()
Method Detail

setField

public void setField(String field)
              throws JspTagException
Throws:
JspTagException

findFieldProvider

public FieldProvider findFieldProvider(boolean ex)
                                throws JspTagException
This method tries to find an ancestor object of type NodeProvider

Returns:
the FieldProvider if found else an exception.
Throws:
JspTagException

findFieldProvider

public FieldProvider findFieldProvider()
                                throws JspTagException
Throws:
JspTagException

getField

protected Field getField()
                  throws JspTagException
Throws:
JspTagException


MMBase 2.0-SNAPSHOT - null