org.mmbase.bridge.jsp.taglib.macro
Class RelatedTag

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.AbstractNodeProviderTag
                                |
                                +--org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
                                      |
                                      +--org.mmbase.bridge.jsp.taglib.ListTag
                                            |
                                            +--org.mmbase.bridge.jsp.taglib.macro.RelatedTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, ListItemInfo, NodeProvider, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier

public class RelatedTag
extends ListTag

Shortcut for List where the start node is the parent node.

See Also:
Serialized Form

Fields inherited from class org.mmbase.bridge.jsp.taglib.ListTag
distinctString, nodesString, pathString, searchString
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
changed, currentItemIndex, directionString, listSize, max, offset, returnValues, sortedString, whereString
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
fields
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
pageContextTag, referid
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
RelatedTag()
           
 
Method Summary
 int doStartTag()
          Performs the search
 void setNode(java.lang.String node)
          Override original ListTag method.
 void setNodes(java.lang.String nodes)
          Override original ListTag method.
 void setNumber(java.lang.String number)
           
 void setPath(java.lang.String path)
          Override original ListTag method.
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ListTag
parseNodes, setDistinct, setSearchdir, setType
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
doAfterBody, doInitBody, getIndex, isChanged, isFirst, isLast, setConstraints, setDirections, setMax, setMax, setOffset, setOffset, setOrderby, setReturnValues, setReturnValues, size
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
doEndTag, fillVars, getNodeVar, setFields, setJspvar, setNodeVar
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, getCloudContext, getCloudProviderVar, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, getAttributeValue, getContextTag, getContextTag, getReferid, getReferIdValue, release, setContext, setPageContext, setReferid, stringSplitter, stringSplitter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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.BodyTag
setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, release, setPageContext, setParent
 
Methods inherited from interface org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 

Constructor Detail

RelatedTag

public RelatedTag()
Method Detail

setNodes

public void setNodes(java.lang.String nodes)
              throws javax.servlet.jsp.JspTagException
Override original ListTag method.
Overrides:
setNodes in class ListTag
Following copied from class: org.mmbase.bridge.jsp.taglib.ListTag
Parameters:
nodes - a node or a comma separated list of nodes.

setNode

public void setNode(java.lang.String node)
Override original ListTag method.

setPath

public void setPath(java.lang.String path)
             throws javax.servlet.jsp.JspTagException
Override original ListTag method.
Overrides:
setPath in class ListTag
Parameters:
type - a comma separated list of nodeManagers

setNumber

public void setNumber(java.lang.String number)
               throws javax.servlet.jsp.JspTagException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Description copied from class: ListTag
Performs the search
Overrides:
doStartTag in class ListTag


MMBase 2001