com.sitemesh.taglib.decorator
Class UsePageTag

java.lang.Object
  |
  +--com.sitemesh.taglib.AbstractTag
        |
        +--com.sitemesh.taglib.decorator.UsePageTag

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.3 $
Author:
Joe Walnes
See Also:
UsePageTEI, UseHTMLPageTEI

Fields inherited from class com.sitemesh.taglib.AbstractTag
pageContext, parent
 
Constructor Summary
UsePageTag()
           
 
Method Summary
 int doEndTag()
          To be implemented by all empty tags.
 void setId(java.lang.String id)
          Set name of variable the Page will be set as.
 
Methods inherited from class com.sitemesh.taglib.AbstractTag
doStartTag, getPage, getParent, release, setPageContext, setParent, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsePageTag

public UsePageTag()
Method Detail

setId

public void setId(java.lang.String id)
Set name of variable the Page will be set as.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Description copied from class: AbstractTag
To be implemented by all empty tags.
Overrides:
doEndTag in class AbstractTag