Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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 documents.

  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.
  3. Form Tags provide all form-related HTML output, such as form, textfield, and select.
  4. HTML Tags provide all non-form-related HTML output, such as a, div, and tabbedPanel.

Control Tags

append
generator
iterator
merge
sort
subset
if
elseIf
elseif
else

Data Tags

action
bean
set
param
push
property
text
i18n
debug
url
include

Form Tags

checkbox
checkboxlist
form
token
label
password
hidden
submit
radio
combobox
select
doubleselect
textarea
textfield
file
datepicker

HTML Tags

...

page.

The types of tags can be broken in to two types: generic and UI. Besides function and responsibility, the biggest difference between the 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 to learn how tag attribute syntax works.

FAQs

Resources

Next: Generic Tags