Skip to main content
Skip table of contents

showConfirmDialog

Versionshinweise

12.2

Code

GROOVY
boolean DialogUtils.showConfirmDialog(String title, String message, DialogOptions dialogOptions)

Beschreibung

Zeigt einen Dialog an, den der Anwender bestätigen muss.

Parameter

  • title - Der Dialogtitel.
  • message - Der Dialogtext.
  • dialogOptions - Konfiguration der Dialogschalter.
    Mögliche Werte:
    GUIConstants.YES_NO_BUTTON
    GUIConstants.OK_CANCEL_BUTTON.

Rückgabe

true, wenn der Benutzer den Dialog bestätigt.
false, wenn der Benutzer den Dialog abbricht.

Hinweis

Die Methode ist veraltet und sollte nicht mehr verwendet werden.

Beispiele

GROOVY
boolean ok = DialogUtils.showConfirmDialog("Title", "Message", GUIConstants.OK_CANCEL_BUTTON);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.