org.mmbase.bridge.jsp.taglib
Class ListTag
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
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, ListItemInfo, NodeProvider, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier
- Direct Known Subclasses:
- RelatedTag
- public class ListTag
- extends AbstractNodeListTag
ListTag, provides functionality for listing cluster nodes
('multilevel' search) in MMBase
- Author:
- Kees Jongenburger, Michiel Meeuwissen, Pierre van Rooden
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
int |
doStartTag()
Performs the search |
protected java.lang.String |
parseNodes(java.lang.String nodes)
|
void |
setDistinct(java.lang.String distinct)
|
void |
setNodes(java.lang.String nodes)
Sets the nodes to start the search with. |
void |
setPath(java.lang.String path)
|
void |
setSearchdir(java.lang.String search)
The search parameter, determines how directionality affects the search. |
void |
setType(java.lang.String type)
|
| 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.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 |
nodesString
protected java.lang.String nodesString
pathString
protected java.lang.String pathString
distinctString
protected java.lang.String distinctString
searchString
protected java.lang.String searchString
ListTag
public ListTag()
setNodes
public void setNodes(java.lang.String nodes)
throws javax.servlet.jsp.JspTagException
- Sets the nodes to start the search with.
The value '-1' interpreted as
null, whcih indicates no
predefined startnodes are sued (a more general search is conducted
instead).
- Parameters:
nodes - a node or a comma separated list of nodes.
parseNodes
protected java.lang.String parseNodes(java.lang.String nodes)
throws javax.servlet.jsp.JspTagException
setPath
public void setPath(java.lang.String path)
throws javax.servlet.jsp.JspTagException
- Parameters:
type - a comma separated list of nodeManagers
setType
public void setType(java.lang.String type)
throws javax.servlet.jsp.JspTagException
- Parameters:
type - a comma separated list of nodeManagers
setSearchdir
public void setSearchdir(java.lang.String search)
throws javax.servlet.jsp.JspTagException
- The search parameter, determines how directionality affects the search.
Possible values are
both, destination,
source, and all
- Parameters:
search - the swerach value
setDistinct
public void setDistinct(java.lang.String distinct)
- Parameters:
distinct - the selection query for the object we are looking for
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Performs the search
- Overrides:
doStartTag in class AbstractNodeListTag
MMBase 2001