com.sitemesh.taglib.decorator
Class PropertyTag

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

public class PropertyTag
extends AbstractTag

Write property of Page to out.

Version:
$Revision: 1.2 $
Author:
Joe Walnes
See Also:
Page.getProperty(java.lang.String)

Fields inherited from class com.sitemesh.taglib.AbstractTag
pageContext, parent
 
Constructor Summary
PropertyTag()
           
 
Method Summary
 int doEndTag()
          To be implemented by all empty tags.
 void release()
           
 void setDefault(java.lang.String defaultValue)
          Value to write if no property matching key is found (optional).
 void setProperty(java.lang.String propertyName)
          Key of property to write.
 
Methods inherited from class com.sitemesh.taglib.AbstractTag
doStartTag, getPage, getParent, setPageContext, setParent, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTag

public PropertyTag()
Method Detail

setProperty

public void setProperty(java.lang.String propertyName)
Key of property to write.

setDefault

public void setDefault(java.lang.String defaultValue)
Value to write if no property matching key is found (optional).

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

release

public void release()
Overrides:
release in class AbstractTag