Window

From UG

Revision as of 23:58, 23 January 2010 by Alex (Talk | contribs)
Jump to: navigation, search


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

{ Number of Lables / Widgets [OK][Cancel] }

  • OK - proceed
  • Cancel - rollback

Examples: // TBD

ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // 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

Template for spec

Attribute: Value:
widget type: Window#Edit
title: tbd

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