public class Body extends StylableTag
<base:page>
ag.
Syntax:
<base:body id=... clazz=... subclass=... style=... onload=... >
Attribute | Default value | Required | Description |
id | - | no | The ID of the body tag. The value of this attribute
goes directly into the standard id attribute.
This means that if you need a reference to the button object in your own
JavaScript code, you may for example use the following code:
|
clazz | - | no |
The value if this attribute goes directly into the standard HTML
class attribute. This allows you to apply different styles
to different pages. The default class depends on the page type: iframe,
popup, default.
|
subclass | - | no | Additional classes to put in the HTML class attribute. Doesn't replace the main class attribute. |
style | - | no |
The value if this attribute goes directly into the standard HTML
style attribute. This allows you to apply different styles
to different tables.
|
onload | - | no |
A JavaScript statement that is put into the onload attribute
of the body tag.
|
Modifier and Type | Field and Description |
---|---|
private String |
onLoad
Deprecated.
|
private Page |
page
The parent <base:page> tag.
|
private static long |
serialVersionUID |
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
Body() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
String |
getClazz() |
String |
getDefaultClazz(int pageType) |
String |
getOnload()
Deprecated.
|
void |
setOnload(String onLoad)
Deprecated.
|
addDynamicAttributes, addIdAndStyles, getDynamicActionAttributes, getDynamicAttribute, getFullClass, getIdPrefix, getStyle, getSubclass, setClazz, setDynamicAttribute, setMoreDynamicAttributes, setPageContext, setStyle, setSubclass
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
private static final long serialVersionUID
private Page page
@Deprecated private String onLoad
onload
attribute
of the body
tag.public String getClazz()
getClazz
in class StylableTag
@Deprecated public void setOnload(String onLoad)
@Deprecated public String getOnload()
public String getDefaultClazz(int pageType)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException