Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
(Major Functional Attributes)
(Template for spec)
Line 39: Line 39:
-
== Template for spec ==
 
-
{| {{table}} border="1"
+
 
-
| '''Attribute:''' || '''Value:'''
+
== Template ==
-
|-
+
 
-
| widget type:        || [[Textbox]]
+
:: ''default:''         N, Y
-
|-
+
:: ''datatype/format:'' [[Datatypes#TBD]]
-
| adjusent label:       || tbd
+
 
-
|-
+
:: ''required:''        N, Y
-
| default:     || blank / tbd
+
:: ''validation type:'' Validation#TBD
-
|-
+
:: ''readonly:''        N, Y
-
| type/format:  || integer / decimal  / alphanumeric  / ascii
+
-
|-
+
-
| required?:
+
-
|-
+
-
| validation type:   || stop on max / zk standard / on submit
+
-
|-
+
-
| read-only?:   || Y / N
+
-
|}
+
== See also ==
== See also ==

Revision as of 19:34, 13 February 2010


Contents

Intro

Easily most used UI control.

Used to enter text on forms.

Major Functional Attributes

datatype/format

See Datatypes.

validation

see Validation

readonly

Values: Y, N.

default

Values:

  • blank
  • constant
  • value that comes from DB or memory

Look and Feel attributes

width

Defines how wide is a textbox on the screen.

Most of the times it is defined in number of chars (ZK cols attribute). But it could be also defined in pixels (ZK width attribute).

This is actually almost only style / layout issue, could be defined in Style section. So in this case link should be provided instead of repeating definition.



Template

default: N, Y
datatype/format: Datatypes#TBD
required: N, Y
validation type: Validation#TBD
readonly: N, Y

See also

Figures

Fig 1

File:Textbox.png

Personal tools