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

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended byorg.mmbase.bridge.jsp.taglib.CloudReferrerTag
                  extended byorg.mmbase.bridge.jsp.taglib.pageflow.UrlTag
                      extended byorg.mmbase.bridge.jsp.taglib.pageflow.IncludeTag
                          extended byorg.mmbase.bridge.jsp.taglib.pageflow.LeafIncludeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, ParamHandler, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class LeafIncludeTag
extends IncludeTag

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 'LEAFPART' command A full description of this command can be found in the mmbase-taglib.xml file.

Version:
$Id: LeafIncludeTag.java,v 1.10.2.2 2004/07/26 20:12:18 nico Exp $
Author:
Johannes Verelst
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
UrlTag.Param
 
Field Summary
protected  Attribute objectList
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.pageflow.IncludeTag
debugType
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
extraParameters, page
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, EVAL_BODY, helper, id, pageContextTag, referid, writerid
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
LeafIncludeTag()
           
 
Method Summary
 void doAfterBodySetValue()
           
protected  boolean doMakeRelative()
          Whether URL must be generatored relatively.
 int doStartTag()
           
protected  java.lang.String getPage()
           
 void setObjectlist(java.lang.String p)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.IncludeTag
getCite, getDebug, getThisName, includePage, setCite, setDebug, setEncoding
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.pageflow.UrlTag
addParameter, doAfterBody, doEndTag, getUrl, getUrl, getUrl, makeRelative, setEscapeamps, setPage, setReferids
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloud, getCloudContext, getCloudVar, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setPageContext, setReferid, setVartype, setWrite, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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 Attribute objectList
Constructor Detail

LeafIncludeTag

public LeafIncludeTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class IncludeTag
Throws:
javax.servlet.jsp.JspTagException

getPage

protected java.lang.String getPage()
                            throws javax.servlet.jsp.JspTagException
Overrides:
getPage in class UrlTag
Throws:
javax.servlet.jsp.JspTagException

doAfterBodySetValue

public void doAfterBodySetValue()
                         throws javax.servlet.jsp.JspTagException
Overrides:
doAfterBodySetValue in class IncludeTag
Throws:
javax.servlet.jsp.JspTagException

setObjectlist

public void setObjectlist(java.lang.String p)
                   throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.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


MMBase build 1.7.1.20041002