|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTagSupport
BodyTagSupport
AbstractClassicTag
HtmlBaseTag
HtmlFocusBaseTag
HtmlDataSourceTag
public abstract class HtmlDataSourceTag
Abstract Base class adding support for the dataSource
attribute.
Field Summary | |
---|---|
protected String |
_dataSource
|
Fields inherited from class AbstractClassicTag |
---|
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT |
Fields inherited from class BodyTagSupport |
---|
bodyContent |
Fields inherited from class TagSupport |
---|
id, pageContext |
Fields inherited from interface BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
HtmlDataSourceTag()
|
Method Summary | |
---|---|
protected Object |
evaluateDataSource()
Return the Object that is represented by the specified data source. |
protected List |
getNamingChain()
Return an ArrayList which represents a chain of INameInterceptor
objects. |
protected void |
localRelease()
Release any acquired resources. |
protected void |
nameHtmlControl(AbstractHtmlControlState state,
ByRef javaScript)
This method will create the name of the form element (HTML Control) that has a name. |
void |
setDataSource(String dataSource)
Sets the tag's data source (can be an expression). |
Methods inherited from class HtmlFocusBaseTag |
---|
isDisabled, setDisabled, setOnBlur, setOnChange, setOnFocus, setOnSelect |
Methods inherited from class BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
protected String _dataSource
Constructor Detail |
---|
public HtmlDataSourceTag()
Method Detail |
---|
public void setDataSource(String dataSource)
dataSource
- the data sourceprotected List getNamingChain()
ArrayList
which represents a chain of INameInterceptor
objects. This method by default returns null
and should be overridden
by objects that support naming.
getNamingChain
in class AbstractClassicTag
ArrayList
that will contain INameInterceptor
objects.protected Object evaluateDataSource() throws JspException
JspException
protected void nameHtmlControl(AbstractHtmlControlState state, ByRef javaScript) throws JspException
state
- The tag state structure. This contains both the name and id attributes. The
id attribute should be set with the initial value from the tagId.javaScript
- A ByRef element that will contain any JavaScript that should be written out
by the calling tag. A value is returned only if tagId is set and there is not IScriptReporter
found.
JspException
- Pass through the exception from applyNamingChain.protected void localRelease()
localRelease
in class HtmlFocusBaseTag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |