OptionsDataSourceTag Class

com.bea.wlw.netui.tags
OptionsDataSourceTag Class

public abstract class OptionsDataSourceTag

    extends DefaultableDataSourceTag

Abstract tag class that adds support for an OptionsDataSource. OptionsDataSource is used to populate a set of option tag children for the containing tag.

For example, a set of CheckBoxOptions for a CheckBoxGroup.


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        DataSourceTag
          DefaultableDataSourceTag
            OptionsDataSourceTag
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag
Direct Known Subclasses

CheckBoxGroup, RadioButtonGroup, Select

Field Summary

   
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
 
Fields from  javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

OptionsDataSourceTag()

 

Method Summary

public String
getOptionsDataSource()
Gets the options datasource value (an expression).
protected void
localRelease()
Release any acquired resources.
public void
setOptionsDataSource(String optionsDataSource)
Sets the options datasource value (an expression).
 
Methods from  com.bea.wlw.netui.tags.DefaultableDataSourceTag
getDefaultValue, setDefaultValue
 
Methods from  com.bea.wlw.netui.tags.DataSourceTag
getDataSource, localRelease, setDataSource
 
Methods from  com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getTagName, getUserLocale, localRelease, registerTagError, release, renderAttribute, rewriteName, write
 
Methods from  javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
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
   
Methods from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Constructor Detail

OptionsDataSourceTag

public OptionsDataSourceTag()
 

Method Detail

getOptionsDataSource() Method

public String getOptionsDataSource()
Gets the options datasource value (an expression).

Returns

the options datasource

localRelease() Method

protected void localRelease()
Release any acquired resources.

Overrides
DefaultableDataSourceTag.localRelease()

setOptionsDataSource(String) Method

public void setOptionsDataSource(String optionsDataSource)
throws JspException
Sets the options datasource value (an expression).

Parameters

optionsDataSource
- the options datasource

Exceptions

JspException