org.apache.turbine.services.jsp.tags
Class BodyAttributesTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.apache.turbine.services.jsp.tags.BodyAttributesTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class BodyAttributesTag
- extends javax.servlet.jsp.tagext.TagSupport
Supporting class for the bodyAttributes tag.
Sends the contents of the a screen's body tag's attributes
parameter to the output stream. If the screen did not set
the attributes parameter, a default may be used if specified
in this tag. Example usage:
<body <x:bodyAttributes default='onLoad="jsfunc()"' />>
- Author:
- John D. McNally
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
def
The default body tag attributes, if none is specified in the screen. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext, parent, values |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doStartTag()
Method called when the tag is encountered to send attributes to the
output stream |
void |
setDefault(java.lang.String def)
The setter for the default body tag attributes. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
def
private java.lang.String def
- The default body tag attributes, if none is specified in the screen.
BodyAttributesTag
public BodyAttributesTag()
setDefault
public void setDefault(java.lang.String def)
- The setter for the default body tag attributes.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Method called when the tag is encountered to send attributes to the
output stream
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Returns:
- SKIP_BODY, as it is intended to be a single tag.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.