com.opensymphony.module.sitemesh.taglib.page
public class: ParamTag [javadoc |
source]
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.module.sitemesh.taglib.page.ParamTag
All Implemented Interfaces:
BodyTag, IterationTag, Serializable
Add a parameter to the inline Decorator, as if specified in the Page.
- author:
< - a href="mailto:joe@truemesh.com">Joe Walnes
- version:
$ - Revision: 1.1 $
| Method from com.opensymphony.module.sitemesh.taglib.page.ParamTag Summary: |
|---|
|
doAfterBody, setName |
| Methods from javax.servlet.jsp.tagext.TagSupport: |
|---|
|
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Method from com.opensymphony.module.sitemesh.taglib.page.ParamTag Detail: |
public int doAfterBody() {
Tag parent = getParent();
if (parent instanceof ApplyDecoratorTag) {
ApplyDecoratorTag t = (ApplyDecoratorTag)parent;
t.addParam(name, getBodyContent().getString());
}
return SKIP_BODY;
}
|
public void setName(String name) {
this.name = name;
}
|