Textbox
From UG
(Difference between revisions)
(→Links) |
|||
Line 51: | Line 51: | ||
* [http://www.zkoss.org/zkdemo/userguide/#f2 In Demo] | * [http://www.zkoss.org/zkdemo/userguide/#f2 In Demo] | ||
+ | |||
+ | * see also http://docs.zkoss.org/wiki/Developer_reference_The_XUL_Components_Overview_InputElement |
Revision as of 17:02, 15 January 2010
Contents |
Intro
Easily most used UI control.
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 |
type: | text |
width: | tbd |
constraint: | none |
default value: | none |