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

<ww:textfield />

In this example, a text control is rendered. The label is retrieved from a ResourceBundle by calling ActionSupport's getText() method.
<ww:textfield label="text('user_name')" name="'user'"/>

Attributes
Name Required Description
id no HTML id attribute
name yes HTML name attribute
value no Data to pass as field value
required no Indicates if this field is required for form submission
size no HTML size attribute
maxlength no HTML maxlength attribute
readonly no HTML readonly attribute
disabled no HTML disabled attribute
tabindex no HTML tabindex attribute
onkeyup no HTML onkeyup attribute
onchange no HTML onchange attribute
onclick no HTML onclick attribute
label no Text used as label in template
labelposition no Alignment of label (left,right,center)
cssClass no HTML class attribute
cssStyle no HTML style attribute
theme no Theme to use
template no Name of template to use

Note that the default template name for this tag is text.vm and not textfield.vm.

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