Window

From UG

(Difference between revisions)
Jump to: navigation, search
(Types of CT2 windows)
Line 6: Line 6:
=== Error ===
=== Error ===
 +
 +
Typical Purpose: To tell the user that he can not proceed and must "go back and" fix the problem
{ Error: <Message> [OK]  }
{ Error: <Message> [OK]  }
-
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- [[TBD]]
+
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- [[tbd]]
=== Warning ===
=== Warning ===
 +
 +
Typical Purpose: to warn user and give a choice to proceed or not
Also called Confirm Window
Also called Confirm Window
Line 21: Line 25:
*OK - proceed
*OK - proceed
*Cancel - rollback
*Cancel - rollback
 +
 +
Examples: [[tbd]]
Type 2
Type 2
Line 30: Line 36:
*N- rollback
*N- rollback
-
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- [[TBD]]
+
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- [[tbd]]
 +
 
 +
Examples: [[tbd]]
 +
 
 +
=== Edit ===
 +
 
 +
Also called Update Window
 +
 
 +
Typical Purpose: to update object's fields
 +
 
 +
Type 1
 +
 
 +
{ Warning: <Message> [OK][Cancel]  }
 +
 
 +
*OK - proceed
 +
*Cancel - rollback
 +
 
 +
Examples: [[tbd]]
see also:
see also:

Revision as of 18:06, 23 January 2010


Contents

Intro

Types of CT2 windows

Error

Typical Purpose: To tell the user that he can not proceed and must "go back and" fix the problem

{ Error: <Message> [OK] }

ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- tbd

Warning

Typical Purpose: to warn user and give a choice to proceed or not

Also called Confirm Window

Type 1

{ Warning: <Message> [OK][Cancel] }

  • OK - proceed
  • Cancel - rollback

Examples: tbd

Type 2


{ <Are you sure .... ?> [Y][N] }

  • Y- proceed
  • N- rollback

ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- tbd

Examples: tbd

Edit

Also called Update Window

Typical Purpose: to update object's fields

Type 1

{ Warning: <Message> [OK][Cancel] }

  • OK - proceed
  • Cancel - rollback

Examples: tbd

see also:

http://docs.zkoss.org/wiki/Layout_and_Windows#Overlapped.2C_Popup.2C_Modal.2C_Highlighted_and_Embedded

Major Functional Attributes

Attr A

Look and Feel attributes

See also

http://en.wikipedia.org/wiki/Window_(computing)

http://docs.zkoss.org/wiki/Layout_and_Windows#Windows

Figures

Fig 1

Personal tools