Date: 2004-11-09T14:00:49 Editor: DarylOlander <[EMAIL PROTECTED]> Wiki: Apache Beehive Wiki Page: NetUI/HtmlTags URL: http://wiki.apache.org/beehive/NetUI/HtmlTags
no comment Change Log: ------------------------------------------------------------------------------ @@ -38,11 +38,29 @@ There is a couple of design patterns used in the Tag libraries. The first is that interfaces begin with the letter �I� unless the interfaces simply contains constants. When an interface contains only Constants -it will have that in the name. Abstract classes typically contain either '''Abstract''' or '''Base''' in +it will not start with 'I'. Abstract classes typically contain either '''Abstract''' or '''Base''' in their name. Classes containing static utility methods typically end with the word '''Utils'''. Unfortunately, there are a few inconsistencies currently in the code base. These inconsistencies need to be removed where possible before we ship the Beehive 1.0 release. == Base Classes == + +The base classes for all of the tags are found in the HTML Tag library. They are found in the package +'''org.apache.beehive.netui.tags''' and the source is located below the '''$/netui/src/tags-html''' directory. +The following table describes each base class. + +=== Primary Base Classes === + +|| '''Class''' || '''Description''' || +|| Abstract``````Classic``````Tag || The common base class for Classic tag handlers || +|| Abstract``````Simple``````Tag || The common base class for Simple tag handlers || + +These are the core base classes. The reason we have two is to provide both Classic tag handlers and also the new JSP 2.0 Simple tag handler. +The HTML tags use both type of tags. Classic tag is used to allow developers to continue to use Scriptlet inside of their JSP pages. +Simple tags are typically used for tags that are either empty or only only allow tags that modify their behavior. The core of the HTML tags are +all Classic tags at the moment, due to a common set of base classes shared by all of the HTML tags. + +These base classes provide two basic services to subclasses, error reporting and name scoping. + == HTML Tags ==
