48 lines
2.6 KiB
HTML
48 lines
2.6 KiB
HTML
<html>
|
|
<body>
|
|
<p>
|
|
Provides the classes and interfaces fundamental to the NetUI tags. The primary abstract base
|
|
class is {@link org.apache.beehive.netui.tags.AbstractClassicTag}, which most tags extend from. This class
|
|
provides implementation of most of the basic services used by the NetUI tags. There are three
|
|
basic types of NetUI Tags based upon how they data bind to objects:
|
|
<ul>
|
|
<li><b>Read-only</b> -- These tags bind to their primary value through the <code>value</code>
|
|
attribute. In addition, many other attributes on tags provide read-only binding.</li>
|
|
<li><b>Read-Write</b> -- These values provide read/write access to variables on the server.
|
|
Tags bind their primary value through the <code>dataSource</code> attribute.</li>
|
|
<li><b>Read-Write Multiple Values</b> -- This type of tag may read and write multiple values.
|
|
Typically, these tags support a <code>optionsDataSource</code> attribute allowing the full
|
|
set of options to be specified.</li>
|
|
</ul>
|
|
In addition, to these common attributes, many tags provide a <code>defaultValue</code>
|
|
attribute which can provide the default value if the <code>dataSource</code> object is null.
|
|
</p>
|
|
<p>
|
|
<code>AbstractBaseTag</code> provides base features allowing the implementation of <code>dataSource,
|
|
defaultValue</code>, and <code>optionsDataSource</code>. There are also base classes in both this package
|
|
and the {@link org.apache.beehive.netui.tags.html} package which support these attributes.
|
|
</p>
|
|
<p>
|
|
The primary base classes are:
|
|
<ul>
|
|
<li><b>AbstractBaseTag</b> -- This is an abstract base class for
|
|
all tags. I provides support for generic tag features, expression management, naming support,
|
|
generic attribute support, error reporting and JavaScript services.</li>
|
|
<li><b>DataSourceTag</b> -- </li>
|
|
<li><b>DefaultableDataSourceTag</b> -- </li>
|
|
<li><b>OptionsDataSourceTag</b> -- </li>
|
|
</ul>
|
|
</p>
|
|
<p>There are a number of supporting interfaces provided by the package. These interfaces
|
|
allow tags to provide services or participate in provided services. These are the primary
|
|
interfaces:
|
|
<ul>
|
|
<li><b>DataAccessProvider</b> -- This interfaces allows object to provide their
|
|
children with a relative binding context using the 'container' binding context.</li>
|
|
<li><b>ErrorReporter</b> -- This interfaces allows objects to act as a container for
|
|
reporting errors generated by their children.</li>
|
|
<li><b>ScriptReporter</b> -- This interfaces allows objects to act as a container for
|
|
JavaScript for their children.</li>
|
|
</ul>
|
|
</body>
|
|
</html> |