Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
(Template for spec)
(Template for spec)
Line 41: Line 41:
| maxlength  || tbd
| maxlength  || tbd
|-
|-
-
| constraint: || none
+
| constraint: || tbd
|-
|-
-
| default:    || none
+
| default:    || blank
|-
|-
|}
|}

Revision as of 17:08, 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
data type: text
width: tbd
maxlength tbd
constraint: tbd
default: blank

Links

Personal tools