Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
(Major Functional Attributes)
(Template)
 
(5 intermediate revisions not shown)
Line 3: Line 3:
== Intro ==
== Intro ==
-
Easily most used UI control.
+
Frequently used UI control.
Used to enter text on forms.
Used to enter text on forms.
Line 39: Line 39:
-
== Template for spec ==
 
-
{| {{table}} border="1"
+
 
-
| '''Attribute:''' || '''Value:'''
+
== Template ==
-
|-
+
 
-
| widget type:        || [[Textbox]]
+
:: ''default:'' blank, from DB, etc
-
|-
+
:: ''datatype/format/Biz Obj:'' [[Datatypes#TBD]] or link to ''Business Object'' wiki
-
| adjusent label:       || tbd
+
 
-
|-
+
:: ''required:''        N, Y
-
| default:     || blank / tbd
+
:: ''validation type:'' [[Validation#zk_standard]], [[Validation#on submit]], [[Validation#ststus line]]
-
|-
+
:: ''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 ==

Current revision as of 20:41, 22 February 2010


Contents

[edit] Intro

Frequently used UI control.

Used to enter text on forms.

[edit] Major Functional Attributes

[edit] datatype/format

See Datatypes.

[edit] validation

see Validation

[edit] readonly

Values: Y, N.

[edit] default

Values:

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

[edit] Look and Feel attributes

[edit] 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.



[edit] Template

default: blank, from DB, etc
datatype/format/Biz Obj: Datatypes#TBD or link to Business Object wiki
required: N, Y
validation type: Validation#zk_standard, Validation#on submit, Validation#ststus line
readonly: N, Y

[edit] See also

[edit] Figures

[edit] Fig 1

File:Textbox.png

Personal tools