Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
=== readonly ===
=== readonly ===
Values : true|false  
Values : true|false  
 +
 +
== Template for spec ==
 +
 +
{| {{table}} border="1"
 +
| align="center" style="background:#f0f0f0;"|'''UI Control attribute:'''
 +
| align="center" style="background:#f0f0f0;"|'''Value:'''
 +
|-
 +
| rows: || 1
 +
|-
 +
| type: || text
 +
|-
 +
| width: || tbd
 +
|-
 +
| constraint: || none
 +
|-
 +
| default value: || none
 +
|-
 +
|}
 +
== Links ==
== Links ==

Revision as of 17:01, 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


Links

Personal tools