BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags.html
Class Body

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.bea.wlw.netui.tags.AbstractBaseTag
              extended by com.bea.wlw.netui.tags.html.Body
All Implemented Interfaces:
HtmlConstants, Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class Body
extends AbstractBaseTag

See Also:
Serialized Form
Jsptagref.tagdescription:

Renders an HTML <body> tag with the attributes specified.


Field Summary
 
Fields inherited from class com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, JAVASCRIPT_STATUS, NETUI_UNIQUE_CNT
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface com.bea.wlw.netui.tags.html.HtmlConstants
ACCEPT, ACCESSKEY, ACTION, ALIGN, ALINK, ALT, ANCHOR, BACKGROUND, BASE, BGCOLOR, BODY, BORDER, BR, CAPTION, CELLPADDING, CELLSPACING, CHAR, CHAROFF, CHARSET, CHECKED, CLASS, COLS, COORDS, DIR, DISABLED, DIV, ENCTYPE, FOR, FORM, FORM_GET, FORM_POST, FRAME, HEIGHT, HREF, HREFLANG, HSPACE, HTML, ID, IMAGE, INPUT, INPUT_BUTTON, INPUT_CHECKBOX, INPUT_FILE, INPUT_HIDDEN, INPUT_IMAGE, INPUT_PASSWORD, INPUT_RADIO, INPUT_RESET, INPUT_SUBMIT, INPUT_TEXT, ISMAP, LABEL, LANG, LINK, LONGDESC, MAXLENGTH, METHOD, NAME, ONBLUR, ONCHANGE, ONCLICK, ONDBLCLICK, ONFOCUS, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONLOAD, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, ONRESET, ONSELECT, ONSUBMIT, ONUNLOAD, OPTION, READONLY, REL, REV, ROWS, RULES, SELECT, SHAPE, SIZE, SPAN, SRC, STYLE, SUMMARY, TABINDEX, TABLE, TARGET, TD, TEXT, TEXTAREA, TITLE, TR, TYPE, USEMAP, VALIGN, VALUE, VLINK, VSPACE, WIDTH
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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 doAfterBody()
          Save the body content of the Anchor.
 int doEndTag()
          Render the button.
 int doStartTag()
          Process the start of the Button.
 String getTagName()
          Return the name of the Tag.
 void localRelease()
          This is a method that will initialize all temp state on a tag and should be called in the doEndTag method.
 void setAlink(String alink)
          Sets the color of text marking hypertext links when selected by the user.
 void setBackground(String background)
          Sets the background color of the page.
 void setLink(String link)
          Sets the the color of text marking unvisited hypertext links.
 void setOnLoad(String onload)
          Sets the onLoad javascript event.
 void setOnUnload(String onunload)
          Sets the onUnload javascript event.
 void setText(String text)
          Sets the foreground text color of the page.
 void setVlink(String vlink)
          Sets the the color of text marking visited hypertext links.
 
Methods inherited from class com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, containsExpression, evaluateAttributeToString, evaluateExpression, filter, filter, formatErrorString, formatString, getAttribute, getErrorsReport, getExpressionEvaluator, getJavaScriptUtils, getNearestForm, getNextId, getQualifiedBundleName, getScriptReporter, getUserLocale, hasErrors, isExpression, prepForRendering, registerAttribute, registerError, registerTagError, release, removeAttribute, renderAttribute, renderAttributes, reportErrors, rewriteName, setPageContext, updateExpression, write
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Constructor Detail

Body

public Body()
Method Detail

getTagName

public String getTagName()
Return the name of the Tag.

Specified by:
getTagName in class AbstractBaseTag

setOnLoad

public void setOnLoad(String onload)
Sets the onLoad javascript event.

Parameters:
onload - - the onLoad event.
Jsptagref.attributedescription:
The onLoad JavaScript event.
Jsptagref.attributesyntaxvalue:
string_onLoad
Jsptagref.databindable:
false

setOnUnload

public void setOnUnload(String onunload)
Sets the onUnload javascript event.

Parameters:
onunload - - the onUnload event.
Jsptagref.attributedescription:
The onLoad JavaScript event.
Jsptagref.attributesyntaxvalue:
string_onUnload
Jsptagref.databindable:
false

setBackground

public void setBackground(String background)
Sets the background color of the page.

Parameters:
background - - the background color of the page.
Jsptagref.attributedescription:
The background color of the page.
Jsptagref.attributesyntaxvalue:
string_background
Jsptagref.databindable:
false

setText

public void setText(String text)
Sets the foreground text color of the page.

Parameters:
text - - the foreground text color of the page.
Jsptagref.attributedescription:
The foreground text color of the page.
Jsptagref.attributesyntaxvalue:
string_text
Jsptagref.databindable:
false

setLink

public void setLink(String link)
Sets the the color of text marking unvisited hypertext links.

Parameters:
link - - the color of text marking unvisited hypertext links of the page.
Jsptagref.attributedescription:
The color of text marking unvisited hypertext links of the page
Jsptagref.attributesyntaxvalue:
string_link
Jsptagref.databindable:
false

setVlink

public void setVlink(String vlink)
Sets the the color of text marking visited hypertext links.

Parameters:
vlink - - the color of text marking visited hypertext links of the page.
Jsptagref.attributedescription:
The color of text marking visited hypertext links of the page
Jsptagref.attributesyntaxvalue:
string_vlink
Jsptagref.databindable:
false

setAlink

public void setAlink(String alink)
Sets the color of text marking hypertext links when selected by the user.

Parameters:
alink - - the color of text marking hypertext links when selected by the user.
Jsptagref.attributedescription:
The color of text marking hypertext links when selected by the user
Jsptagref.attributesyntaxvalue:
string_alink
Jsptagref.databindable:
false

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of the Button.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Save the body content of the Anchor.

Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render the button.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

localRelease

public void localRelease()
Description copied from class: AbstractBaseTag
This is a method that will initialize all temp state on a tag and should be called in the doEndTag method.

Overrides:
localRelease in class AbstractBaseTag

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.