DataSourceTag Class
- public abstract class DataSourceTag
extends AbstractBaseTag
Abstract tag class that adds support for a dataSource on the tag. The dataSource is
where this tag gets its data from and writes its data to.
For example, would pull from the form
bean's foo property to populate the textbox. It would also set the value of the textbox
on a post back into the foo property of the form bean.
The dataSource can either be an expression or the name of a form bean property. In the
above example, would have the exact same
behavior.
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
DataSourceTag
-
All Implemented Interfaces
-
BodyTag
, IterationTag
, Serializable
, Tag
-
Direct Known Subclasses
-
CellRepeater
, DefaultableDataSourceTag
, FileUpload
, Grid
, Hidden
, Repeater
, Tree
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 , getTagName , 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 |
DataSourceTag
public DataSourceTag()
getDataSource() Method
public String
getDataSource()
Gets the tag's data source (can be an expression).
Returns
- the data source
localRelease() Method
protected void localRelease()
Release any acquired resources.
-
Overrides
-
AbstractBaseTag.localRelease()
setDataSource(String) Method
public void setDataSource(String
dataSource)
Sets the tag's data source (can be an expression).
Parameters
-
dataSource
- - the data source