...
Note |
---|
Please make sure you have 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 pages render. They 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.
- Control Tags provide control flow, such as if, else, and iterator.
- Data Tags allow for data manipulation or creation, such as bean, push, and i18n.
- (Note: old content may be salvageable from Common Tags)
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 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.
...
- Themes and Templates: 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. (Note: old content may be salvageable from UI Tags)
- Non Form Tags provide all non-form-related HTML output, such as a, div, and tabbedPanel. (Note: old content may be salvageable from Non-UI Tags)
Language Specific Tag Support
WebWork strives to support whatever environment you are most comfortable working in. That is why WebWork does not require a single template language, but instead allows for almost any common language to be used and even provides 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.
...