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:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally
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 36888 2009-07-13 15:27:31Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
ContextTag,
Serialized Form
|
Method Summary |
int |
doEndTag()
|
int |
doStartTag()
|
void |
setExternid(String e)
The extern id it the identifier in some external source. |
void |
setFrom(String s)
From which external source |
void |
setRequired(String b)
If 'required' then the variable must be available in the
external source, otherwise exception. |
void |
setReset(String b)
If 'required' then the variable must be available in the
external source, otherwise exception. |
protected void |
setValue(Object v)
|
protected void |
setValue(Object v,
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 |
appendMoreParameters, doCatch, doFinally, fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocale, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setPageContextOnly, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
required
protected Attribute required
from
protected Attribute from
externid
protected Attribute externid
ImportTag
public ImportTag()
setExternid
public void setExternid(String e)
throws JspTagException
- The extern id it the identifier in some external source.
- Throws:
JspTagException
setRequired
public void setRequired(String b)
throws JspTagException
- If 'required' then the variable must be available in the
external source, otherwise exception.
- Throws:
JspTagException
setReset
public void setReset(String b)
throws JspTagException
- If 'required' then the variable must be available in the
external source, otherwise exception.
- Throws:
JspTagException
setFrom
public void setFrom(String s)
throws JspTagException
- From which external source
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class BodyTagSupport
- Throws:
JspTagException
setValue
protected void setValue(Object v,
boolean noImplicitList)
throws JspTagException
- Retrieves the value from the writer-helper, but escapes if necessary (using 'escape' attribute)
- Throws:
JspTagException- Since:
- MMBase-1.7.2
setValue
protected void setValue(Object v)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.7.2
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
JspTagException
MMBase 2.0-SNAPSHOT - null