Interface I_CmsEmbeddedDialogHandlerJsCallbacks

All Known Implementing Classes:
CmsEmbeddedDialogHandler

@JsType(isNative=true) public interface I_CmsEmbeddedDialogHandlerJsCallbacks
Interface used to export callback methods from CmsEmbeddedDialogHandler as JavaScript methods.
  • Method Details

    • finish

      void finish(String resources)
      Called on dialog close.

      Parameters:
      resources - the resource ids to update as a ';' separated string.

    • finishForProjectOrSiteChange

      void finishForProjectOrSiteChange(String sitePath, String serverLink)
      Called when site and or project have been changed.

      Parameters:
      sitePath - the site path to the resource to display
      serverLink - the server link to the resource to display
    • leavePage

      void leavePage(String targetUri)
      Navigates to the given URI.

      Parameters:
      targetUri - the target URI
    • reload

      void reload()
      Reloads the current page.

    • selectString

      void selectString(String principle)
      Calls the principle select handler and closes the dialog frame.

      Parameters:
      principle - the principle to select
    • sendNotification

      void sendNotification(boolean error, String notification)
      Displays a notification.
      Parameters:
      error - true if it's an error
      notification - the notification HTML