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:
- BodyTag, IterationTag, ParamHandler, Serializable, Tag
- 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.
- Version:
- $Id: TreeFileTag.java,v 1.17 2006/06/22 13:17:46 johannes Exp $
- Author:
- Johannes Verelst
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag |
addContext, addParameter, doAfterBody, doAfterBodySetValue, getUrl, getUrl, initDoEndTag, makeRelative, setAbsolute, setEncode, setEscapeamps, setPage, setReferids, useAbsoluteAttribute |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectList
protected Attribute objectList
th
protected TreeHelper th
notFound
protected Attribute notFound
TreeFileTag
public TreeFileTag()
setNotfound
public void setNotfound(String n)
throws JspTagException
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class UrlTag
- Throws:
JspTagException
getPage
protected String getPage()
throws JspTagException
- Overrides:
getPage in class UrlTag
- Throws:
JspTagException
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class UrlTag
- Throws:
JspTagException
setObjectlist
public void setObjectlist(String includePage)
throws JspTagException
- Parameters:
includePage - the page to include, can contain arguments and path (path/file.jsp?argument=value)
- Throws:
JspTagException
doMakeRelative
protected boolean doMakeRelative()
- Description copied from class:
UrlTag
- Whether URL must be generatored relatively. This default to false, and can be configured with
the servlet context init parameter 'mmbase.taglib.url.makerelative'. It can be useful to be
sure that url's are relative, if e.g. the context path is taken away in an URL-rewrite (e.g. by proxy).
This might give problems with redirects, but if you happen to solve that too, or don't do that...
- Overrides:
doMakeRelative in class UrlTag
getUrl
protected String getUrl(boolean writeamp,
boolean encode)
throws JspTagException
- Description copied from class:
UrlTag
- Returns url with the extra parameters (of referids and sub-param-tags).
- Overrides:
getUrl in class UrlTag
- Throws:
JspTagException
MMBase build 1.8.1.20060716