Class PropertyTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.module.sitemesh.taglib.AbstractTag
com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag
- All Implemented Interfaces:
RequestConstants,jakarta.servlet.jsp.tagext.BodyTag,jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
Write property of Page to out.
- Version:
- $Revision: 1.3 $
- Author:
- Joe Walnes
- See Also:
-
Field Summary
FieldsFields inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
pageContext, parentFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
idFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFEREDFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAMFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intdoEndTag()To be implemented by all empty tags.voidsetDefault(String defaultValue) Value to write if no property matching key is found (optional).voidsetProperty(String propertyName) Key of property to write.final voidsetWriteEntireProperty(String writeEntireProperty) When begins with y, t or 1, the full attribute (name + value) is written.Methods inherited from class com.opensymphony.module.sitemesh.taglib.AbstractTag
doStartTag, getOut, getPage, getParent, release, setPageContext, setParent, traceMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getValue, getValues, removeValue, setId, setValue
-
Field Details
-
propertyName
-
defaultValue
-
writeEntireProperty
private boolean writeEntireProperty
-
-
Constructor Details
-
PropertyTag
public PropertyTag()
-
-
Method Details
-
setProperty
Key of property to write. -
setDefault
Value to write if no property matching key is found (optional). -
setWriteEntireProperty
When begins with y, t or 1, the full attribute (name + value) is written. -
doEndTag
public final int doEndTag()Description copied from class:AbstractTagTo be implemented by all empty tags.- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Specified by:
doEndTagin classAbstractTag
-