![]() |
Smalltalk/X WebserverDocumentation of class 'UserConfirmation': |
|
Class: UserConfirmationInheritance:Object | +--GenericException | +--Notification | +--UserConfirmation | +--ProvideAnswerNotification
Description:This confirmation query is used when a user confirmation is required somewhere within a model's operation (i.e. in non-GUI code). Instead of directly asking via Dialog confirm... messages, this should be raised. Its default behavior is the same as the above dialog. However, the query can be caught and answered by an exceoptn (a query-) handler, to suppress these GUI interactions in situations, where they are not wanted. This is a much better approach to the alternatives: passing additional 'doConfirm' arguments down from the high level caller keeping the doConfirm settings in a passed down flag object keeping the flag in a global (very bad) keeping it in a class var (almost as bad) Notice: that's one of the nice consequences of proceedable exceptions. Related information:Query Notification Exception Instance protocol:accessing
|
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Mon, 04 Dec 2023 10:06:56 GMT
|