Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment:

Update formatting and nomenclature

Webwork The framework provides a tag library decoupled from the view technology. In this section, we describe each tag in general terms, such as the attributes it supports, what the behaviors are, etcand so forth. Most tags are supported in all template languages (see JSP Tags, Velocity Tags, and FreeMarker Tags), but some are currently only specific to one language. Whenever a tag doesn't have complete support for every langaugelanguage, it will be is noted in on the tag's reference documentspage.

...

The types of tags can be broken in to two types: general and HTML. Besides function and responsibility, the biggest difference between the general tags and the HTML tags is the fact two is that the HTML tags support templates and themes. In addition to the general tag reference, we also provide examples for using these generic tags in each of the support languages.

...

(tick) Be sure to read the Tag Syntax document and understand how tag attribute syntax works.

General Tags

General tags are used for controlling the execution flow when your the pages render. They These tags also allow for data extraction from places other than your action or the value stack, such as Internationalization, JavaBeans, and including additional URLs or action executions.

  1. Control Tags provide control flow, such as if, else, and iterator.
  2. Data Tags allow for data manipulation or creation, such as bean, push, and i18n.

HTML Tags

Unlike the general tags, the HTML tags do not provide much control structure or logic. Rather, they are focussed on using data, either from your action/value stack or from the Data Tags, and displaying it data in rich and reusable HTML. All HTML tags have a unique behavior that they are driven by templates and themes. While the general tags simply output some content directly from the tag (if there is any content to output), the HTML tags defer to a template, often grouped together as a theme, to do the actual rendering.

This unique template Template support allows for you to use the HTML tags to build a rich set of reusable UI components that can be customized to fit your exact requirements. Please read the For details, see Themes and Templates guide for more information on this powerful feature.

...

A must-read explanation of how themes and templates are uses when rendering HTML tags.

Form Tags

provide all form-related HTML output, such as form, textfield, and select.

Non Form Tags

provide all non-form-related HTML output, such as a, div, and tabbedPanel.

Language Specific Tag Support

WebWork The framework strives to support whatever environment you are most comfortable working in. That is why WebWork does not require multiple development environments. The framework does not impose a single template language, but instead allows for almost . Almost any common language to can be used, and even provides there are hooks for new languages. By default, almost every single tag is supported in JSP, Velocity, and FreeMarker. In each of these sections, you'll find examples and techniques for applying the generic tag reference toward your specific language or template choice.

...

.