This page last changed on Dec 14, 2004 by casey.

<ww:label />

An HTML LABEL that will allow you to output label:name combination that has the same format treatment as the rest of your UI controls.

Attributes
Name Required Description
id no HTML id attribute
name no HTML name attribute
value no Data to pass as text
label no Text used as label in template
labelposition no Alignment of label (left,right,center)
required no Is field required for form submission
cssClass no HTML class attribute
cssStyle no HTML style attribute
theme no Theme to use
template no Name of template to use

In this example, a label is rendered. The label is retrieved from a ResourceBundle by calling ActionSupport's getText() method giving you an output of User name: a label.

<ww:label label="text('user_name')" name="'a label'"/>

Document generated by Confluence on Dec 14, 2004 16:36