org.mmbase.bridge.jsp.taglib.pageflow
Class TreeFileTag

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.pageflow.UrlTag
                                |
                                +--org.mmbase.bridge.jsp.taglib.pageflow.TreeFileTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, Writer

public class TreeFileTag
extends UrlTag

Like IncludeTag, but an entire tree of files is being probed to find the one that has the most specified value. This is a taglib-implementation of the 'TREEFILE' command. A full description of this command can be found in the mmbase-taglib.xml file.

Author:
Johannes Verelst
See Also:
Serialized Form

Field Summary
protected  java.lang.String objectlist
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
extraParameters, helper, page
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, PAGE_CATEGORY, pageContextTag, referid, writerid
 
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_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
TreeFileTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void setObjectlist(java.lang.String p)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
addParameter, doAfterBody, doAfterBodySetValue, getUrl, getUrl, getUrl, getWriterValue, haveBody, setEscapeamps, setJspvar, setPage, setReferids, setVartype, setWrite
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloud, getCloudContext, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, findWriter, findWriter, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, release, setContext, setPageContext, setReferid, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, 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.Tag
getParent, setParent
 

Field Detail

objectlist

protected java.lang.String objectlist
Constructor Detail

TreeFileTag

public TreeFileTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Overrides:
doStartTag in class UrlTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException
Overrides:
doEndTag in class UrlTag

setObjectlist

public void setObjectlist(java.lang.String p)
                   throws javax.servlet.jsp.JspTagException
Parameters:
includePage - the page to include, can contain arguments and path (path/file.jsp?argument=value)
Returns:
the entire URL that specifies the best match


MMBase build 1.6.5.20030923