Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
(Links)
(Template for spec)
Line 33: Line 33:
| align="center" style="background:#f0f0f0;"|'''Value:'''
| align="center" style="background:#f0f0f0;"|'''Value:'''
|-
|-
-
| rows: || 1
+
| rows:       || 1
|-
|-
-
| type: || text
+
| data type: || text
|-
|-
-
| width: || tbd
+
| width:     || tbd
 +
|-
 +
| maxlength  || tbd
|-
|-
| constraint: || none
| constraint: || none
|-
|-
-
| default value: || none
+
| default:   || none
|-
|-
|}
|}
-
 
== Links ==
== Links ==

Revision as of 17:05, 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: none
default: none

Links

Personal tools