org.infoglue.deliver.taglib.common
Class ImportTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.infoglue.deliver.taglib.AbstractTag
org.infoglue.deliver.taglib.TemplateControllerTag
org.infoglue.deliver.taglib.common.ImportTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class ImportTag
- extends TemplateControllerTag
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
| 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 |
protected void |
addParameter(java.lang.String name,
java.lang.String value)
|
int |
doEndTag()
Generates the url and either sets the result attribute or writes the url
to the output stream. |
int |
doStartTag()
Initializes the parameters to make it accessible for the children tags (if any). |
void |
setCharEncoding(java.lang.String charEncoding)
|
void |
setTimeout(java.lang.String timeout)
|
void |
setUrl(java.lang.String url)
|
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportTag
public ImportTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Initializes the parameters to make it accessible for the children tags (if any).
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
- Returns:
- indication of whether to evaluate the body or not.
- Throws:
javax.servlet.jsp.JspException - if an error occurred while processing this tag.
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Generates the url and either sets the result attribute or writes the url
to the output stream.
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
- Returns:
- indication of whether to continue evaluating the JSP page.
- Throws:
javax.servlet.jsp.JspException - if an error occurred while processing this tag.
setUrl
public void setUrl(java.lang.String url)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
setCharEncoding
public void setCharEncoding(java.lang.String charEncoding)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
setTimeout
public void setTimeout(java.lang.String timeout)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
addParameter
protected final void addParameter(java.lang.String name,
java.lang.String value)
Copyright © 2005 InfoGlue.org All Rights Reserved.