|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
net.sf.basedb.clients.web.taglib.Body
public class Body
This tag defines the body section of a page. It must be located inside
a <base:page> ag.
Syntax:
<base:body
clazz=...
style=...
onload=...
onunload=...
onkeypress=...
attributes=...
>
| Attribute | Default value | Required | Description |
| clazz | button | no |
The value if this attribute goes directly into the standard HTML
class attribute. This allows you to apply different styles
to different tables.
|
| 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.
|
| onunload | - | no |
A JavaScript statement that is put into the onunload attribute
of the body tag.
|
| onukeypress | - | no |
A JavaScript statement that is put into the onkeypress attribute
of the body tag.
|
| attributes | - | no | Other attributes that is needed in the body tag.
|
| Field Summary | |
|---|---|
private String |
attributes
Any other attributes that is needed in the body tag. |
private String |
clazz
Optional class attribute |
private String |
onKeyPress
A JavaScript statement that is put into the onkeypress attribute
of the body tag. |
private String |
onLoad
A JavaScript statement that is put into the onload attribute
of the body tag. |
private String |
onUnload
A JavaScript statement that is put into the onunload attribute
of the body tag. |
private Page |
page
The parent <base:page> tag. |
private static long |
serialVersionUID
|
private String |
style
Optional style attribute |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
Body()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
|
String |
getAttributes()
|
String |
getClazz()
|
String |
getOnkeypress()
|
String |
getOnload()
|
String |
getOnunload()
|
String |
getStyle()
|
void |
setAttributes(String attributes)
|
void |
setClazz(String clazz)
|
void |
setOnkeypress(String onKeyPress)
|
void |
setOnload(String onLoad)
|
void |
setOnunload(String onUnload)
|
void |
setStyle(String style)
|
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, 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, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private Page page
private String clazz
class attribute
private String style
style attribute
private String onLoad
onload attribute
of the body tag.
private String onUnload
onunload attribute
of the body tag.
private String onKeyPress
onkeypress attribute
of the body tag.
private String attributes
| Constructor Detail |
|---|
public Body()
| Method Detail |
|---|
public void setClazz(String clazz)
public String getClazz()
public void setStyle(String style)
public String getStyle()
public void setOnload(String onLoad)
public String getOnload()
public void setOnunload(String onUnload)
public String getOnunload()
public void setOnkeypress(String onKeyPress)
public String getOnkeypress()
public void setAttributes(String attributes)
public String getAttributes()
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class TagSupportJspException
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspException
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||