com.opensymphony.module.sitemesh.taglib.decorator
Class UsePageTag
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:
- BodyTag, IterationTag, RequestConstants, Serializable, Tag
- public class UsePageTag
- extends AbstractTag
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
Page or
HTMLPage.
- Version:
- $Revision: 1.1 $
- Author:
- Joe Walnes
- See Also:
UsePageTEI,
UseHTMLPageTEI,
Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|
|
Method Summary |
int |
doEndTag()
To be implemented by all empty tags. |
void |
setId(String id)
Set name of variable the Page will be set as. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private String id
UsePageTag
public UsePageTag()
setId
public void setId(String id)
- Set name of variable the Page will be set as.
doEndTag
public final int doEndTag()
throws JspException
- Description copied from class:
AbstractTag
- To be implemented by all empty tags.
- Specified by:
doEndTag in interface Tag- Specified by:
doEndTag in class AbstractTag
- Throws:
JspException