Textbox
From UG
(Difference between revisions)
(→Template for spec) |
(→Intro) |
||
Line 2: | Line 2: | ||
== Intro == | == Intro == | ||
- | + | [[File:Textbox.png]] | |
Easily most used UI control. | Easily most used UI control. | ||
Revision as of 00:21, 21 January 2010
Contents |
Intro
See http://docs.zkoss.org/images/6/61/Textbox.png
Attributes
value
Sets the text value.
rows
Sets the rows. We consider row=1 for textbox. If not we call it Texarea.
type
Values : text | password
constraint
Any.
width
Example: width="50px"
readonly
Values : true|false
Template for spec
UI Control attribute: | Value: |
rows: | 1 |
data type: | text |
width: | tbd |
maxlength | tbd |
constraint: | tbd |
default: | blank |