(Quick Reference)
text
Purpose
Adds a
TextField field to the parent container.
Examples
// Within a form
<v:form bean="${bookInstance}">
<v:text name="author">Arthur C Clarke</v:text>
</v:form>// Standalone
<v:text>My Text Field</v:text>
Description
The text tag is a special type of
field tag, where the field component
is a Vaadin
TextField.
Body
- Contains the caption for the field
Attributes
Specific
General
var
(optional) Uses Grails's set tag to set the value of the specified variable to be this component.
class
(optional) The CSS class name to add to the component using the addStyleName() method
sizeUndefined
(optional) Calls setSizeUndefined() on the component. (Attribute value is ignored)
sizeFull
(optional) Calls setSizeFull() on the component. (Attribute value is ignored)
See Vaadin TextField API docs for full list of allowed attributes.