public class Body extends StylableTag
<base:page>
ag.
Syntax:
<base:body id=... clazz=... subclass=... style=... >
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.
|
Modifier and Type | Field and Description |
---|---|
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() |
java.lang.String |
getClazz() |
java.lang.String |
getDefaultClazz(int pageType) |
addDynamicAttributes, addIdAndStyles, getDynamicActionAttributes, getDynamicAttribute, getFullClass, getIdPrefix, getStyle, getSubclass, initDefaultAttributes, 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
public java.lang.String getClazz()
getClazz
in class StylableTag
public java.lang.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