Options
All
  • Public
  • Public/Protected
  • All
Menu

The interface of the object with all methods for working with dialogs and the dialog framework.

Hierarchy

  • DialogHandlerObject

Index

Properties

messageDialog

messageDialog: Dialog<DialogCfg>

. Dialog used for showing messages, such as confirmation messages.

Methods

closeDialog

  • Closes the dialog as specified by the given configuration.

    Parameters

    Returns void

confirm

  • Asks the user to confirm an action. Shows a confirmation dialog with the given message. Requires a global <p:confirmDialog> to be available on the current page.

    Parameters

    Returns void

findRootWindow

  • Returns the current window instance. When inside an iframe, returns the window instance of the topmost document.

    Returns Window

    The root window instance.

openDialog

  • Opens the dialog as specified by the given configuration. When the dialog is dynamic, loads the content from the server.

    Parameters

    Returns void

showMessageInDialog

  • Displays a message in the messages dialog.

    Parameters

    Returns void

Generated using TypeDoc