com.opensymphony.module.sitemesh.taglib.decorator
public class: UsePageTag [javadoc |
source]
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.module.sitemesh.taglib.AbstractTag
com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag
All Implemented Interfaces:
RequestConstants, BodyTag, IterationTag, Serializable
Expose the Page as a bean to the page which can then be accessed
from scriptlets.
Depending on the TEI used, the object will be
com.opensymphony.module.sitemesh.Page or
com.opensymphony.module.sitemesh.HTMLPage .
| Method from com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag Summary: |
|---|
|
doEndTag, setId |
| 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.decorator.UsePageTag Detail: |
public final int doEndTag() throws JspException {
pageContext.setAttribute(id, getPage(), PageContext.PAGE_SCOPE);
return EVAL_PAGE;
}
|
public void setId(String id) {
this.id = id;
}
Set name of variable the Page will be set as. |