This is a singleton that is a client counterpart to the RichDialogService. This client service manages dialogs launched as browser windows or inline popups.
Method Summary
|
private static string |
_beforeUnloadHandler(DomEvent event)
-
Before unload handler that will notify the use there are dependent dialogs open.
|
private static string |
_buildFeatureString(object features)
|
private static void |
_cancel(long rtnId)
-
Cancels an inline or browser dialog window by return id.
|
public void |
cancelAll()
-
Called by the parent page when unloading.
|
private static void |
_cancelPopup(object state)
-
Cancels an inline popup dialog window.
|
public void |
checkForWindowCanceled(long rtnId)
-
Only used by browser window dialogs.
|
private static boolean |
_closeWindow(object state)
-
Closes a dependent browser window using the window reference passed in the state object.
|
private static string |
_encodeURL(string srcURL, long rtnId)
|
private static long |
_generateRtnId()
|
private static Object |
_getDialogStateToken(long rtnId)
|
public static AdfDhtmlRichDialogService |
getInstance()
|
private static int |
_getOpenDialogCount()
|
private static void |
_hideModalGlass()
-
Remvoes the modal glass pane over the parent window.
|
private static void |
_hidePopup(object state)
-
Hides an inline popup dialog window.
|
private static void |
_iframeLoadHandler(DomEvent event)
-
Invoked when on load of the iframe.
|
private static void |
_installBeforeUnloadHandler()
-
Installs the before unload handler for the first dependent dialog.
|
public void |
launchInline(string popupId)
-
Called by the RichDialogService to launch a dialog in an inline popup.
|
public void |
launchWindow(string srcURL, string windowName, object features, string dialogSourceClientId)
-
Used to launch a dialog as a browser window.
|
private static string |
_normalizeLaunchSourceId(Object dialogSourceClientId)
-
Removes the currency from the client id if the command is in a collection type component.
|
private static void |
_notifyWindowClosed(Object returnId)
-
Notify server that a dialog window is closed.
|
private static Window |
_openWindow(string srcURL, string windowName, map features, long rtnId)
-
Opens a new browser window.
|
private static void |
_popupClosedHandler(AdfPopupClosedEvent event)
-
Popup closed event handler.
|
private static void |
_popupOpenedHandler(AdfPopupOpenedEvent event)
-
At this point, the dom has been delivered to the client.
|
private static void |
_queueReturnEvent(Object state)
-
Queues the AdfReturnEvent on the launcher component if if can be found on the page.
|
private static void |
_removeDialogStateToken(long rtnId)
-
Removes the state of a dialog that has been dismissed.
|
public void |
returnFrom(long rtnId)
-
Cleans up the state of an open dialog, inline or browser window.
|
private static Object |
_setDialogStateToken(long rtnId, Object state)
|
private static void |
_setWindowFocus(long rtnId)
-
Cancels an inline or browser dialog window by return id.
|
private static void |
_showModalGlass()
-
Shows the modal glass pane over the parent window.
|
private static void |
_uninstallBeforeUnloadHandler()
-
Uninstalls the onl before unload handler if there are no longer open dialogs.
|
void |
__visitWindows(function callback)
-
Visits all the open dialogs passing the state token to the callback function
|