org.mmbase.bridge.jsp.taglib
Class ListTag
org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
|
+--org.mmbase.bridge.jsp.taglib.ListTag
- All Implemented Interfaces:
- ListProvider, 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
| Fields inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeListTag |
changed, constraints, currentItemIndex, directions, max, NOT_HANDLED, offset, orderby, returnList, returnValues, timerHandle |
|
Method Summary |
int |
doStartTag()
Performs the search |
protected java.lang.String |
parseNodes(java.lang.String nodes)
|
void |
setDistinct(java.lang.String distinct)
|
void |
setFields(java.lang.String fields)
|
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, doEndTag, doInitBody, doStartTagHelper, getCurrent, getIndex, isChanged, setConstraints, setDirections, setMax, setOffset, setOrderby, setReturnValues, setReturnValues, size |
nodesString
protected java.lang.String nodesString
pathString
protected java.lang.String pathString
distinctString
protected java.lang.String distinctString
searchString
protected java.lang.String searchString
fields
protected java.lang.String fields
searchNodes
protected java.lang.String searchNodes
ListTag
public ListTag()
setFields
public void setFields(java.lang.String fields)
throws javax.servlet.jsp.JspTagException
- Parameters:
fields - a comma separated list of fields of the nodes.
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
MMBase 2002