org.mmbase.bridge.jsp.taglib
Class ImportTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.ImportTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class ImportTag
- extends ContextReferrerTag
The importtag puts things in the context. It can find them from the
environment or from its body.
- Version:
- $Id: ImportTag.java,v 1.41.2.6 2005/03/14 18:33:24 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
ContextTag,
Serialized Form
| 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 |
|
Method Summary |
int |
doEndTag()
|
int |
doStartTag()
|
void |
setExternid(java.lang.String e)
The extern id it the identifier in some external source. |
void |
setFrom(java.lang.String s)
From which external source |
void |
setRequired(java.lang.String b)
If 'required' then the variable must be available in the
external source, otherwise exception. |
void |
setReset(java.lang.String b)
If 'required' then the variable must be available in the
external source, otherwise exception. |
protected void |
setValue(java.lang.Object value)
|
protected void |
setValue(java.lang.Object value,
boolean noImplicitList)
Retrieves the value from the writer-helper, but escapes if necessary (using 'escape' attribute) |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
fillStandardParameters, 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 |
doAfterBody, 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 |
required
protected Attribute required
from
protected Attribute from
externid
protected Attribute externid
ImportTag
public ImportTag()
setExternid
public void setExternid(java.lang.String e)
throws javax.servlet.jsp.JspTagException
- The extern id it the identifier in some external source.
- Throws:
javax.servlet.jsp.JspTagException
setRequired
public void setRequired(java.lang.String b)
throws javax.servlet.jsp.JspTagException
- If 'required' then the variable must be available in the
external source, otherwise exception.
- Throws:
javax.servlet.jsp.JspTagException
setReset
public void setReset(java.lang.String b)
throws javax.servlet.jsp.JspTagException
- If 'required' then the variable must be available in the
external source, otherwise exception.
- Throws:
javax.servlet.jsp.JspTagException
setFrom
public void setFrom(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- From which external source
- Throws:
javax.servlet.jsp.JspTagException
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setValue
protected void setValue(java.lang.Object value,
boolean noImplicitList)
throws javax.servlet.jsp.JspTagException
- Retrieves the value from the writer-helper, but escapes if necessary (using 'escape' attribute)
- Throws:
javax.servlet.jsp.JspTagException- Since:
- MMBase-1.7.2
setValue
protected void setValue(java.lang.Object value)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException- Since:
- MMBase-1.7.2
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.4.20050922