SalesPoint Framework v3.0

Hook: Change Standard OK/Cancel Button Behavior


Requirement

The standard behavior of the " OK " and " Cancel " buttons in a FormSheet needs to be changed.

Method of Adaptation
Augment feature
Level of Support
Parameter Pattern  
HotSpot
FormSheets
Participants
FormSheet, NewFormSheet

Changes

  1. subclass NewFormSheet of FormSheet.
  2. if behavior of standard " OK " button needs to be changed:
    1. NewFormSheet.ok overrides FormSheet.ok .
    2. synchronisation ( NewFormSheet.ok , FormSheet.ok ).
  3. if behavior of standard " Cancel " button needs to be changed:
    1. NewFormSheet.cancel overrides FormSheet.cancel .
    2. synchronisation ( NewFormSheet.cancel , FormSheet.cancel ).

Comments


SalesPoint Framework v3.0