Base Class
- public class Base
extends AbstractBaseTag
implements IAttributeConsumer
Provides the base for every URL on the page.
| Attribute Descriptions |
| Attribute | Required | Runtime Expression Evaluation |
Data Bindable |
| target | No | No | No |
| The default target window. |
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
Base
-
All Implemented Interfaces
-
BodyTag, IAttributeConsumer, IterationTag, Serializable, Tag
public static final String |
-
HREF
- String
|
protected String |
-
target
- The default target window for every link that does
not have an explicit target reference
|
public static final String |
-
TARGET
- String
|
Fields from com.bea.wlw.netui.tags.AbstractBaseTag |
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX |
Methods from com.bea.wlw.netui.tags.AbstractBaseTag |
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, registerTagError, release, renderAttribute, rewriteName, write |
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HREF
public static final String HREF
target
protected String target
- The default target window for every link that does
not have an explicit target reference
TARGET
public static final String TARGET
Base
public Base()
doAfterBody() Method
public int doAfterBody()
throws JspException
-
Overrides
-
BodyTagSupport.doAfterBody()
Exceptions
-
JspException
- if a JSP exception has occurred
doEndTag() Method
public int doEndTag()
throws JspException
Render the HTML base tag.
-
Overrides
-
BodyTagSupport.doEndTag()
Exceptions
-
JspException
- if a JSP exception has occurred
doStartTag() Method
public int doStartTag()
throws JspException
-
Overrides
-
BodyTagSupport.doStartTag()
Exceptions
-
JspException
- if a JSP exception has occurred
getTagName() Method
public String getTagName()
Returns the name of the Tag.
-
Overrides
-
AbstractBaseTag.getTagName()
getTarget() Method
public String getTarget()
Return the target of the base.
Returns
- the target.
localRelease() Method
protected void localRelease()
Description copied from AbstractBaseTag.localRelease()
This is a method that will initialize all temp state on a
tag and should be called in the doEndTag method.
-
Overrides
-
AbstractBaseTag.localRelease()
setAttribute(String, String) Method
public void setAttribute(String name,
String value)
throws JspException
Set an attribute value. The name represents
the name of the attribute.
The value represents the value and may contain
a netui expression. This method may result in errors being generated.
This requires that the tag buffer its body and
write attributes in the end tag. For the base tag it is not legal to set
the id, name, or href attributes with this method.
Parameters
-
name
- The name of the attribute. This value may not be null or the empty string.
-
value
- The value of the attribute. This may contain a netui expression.
Exceptions
-
JspException
- A JspException may be thrown if there is an error setting the attribute.
setTarget(String) Method
public void setTarget(String target)
Set the default window target.
Parameters
-
target
- - the window target.