public class OwDialogManager extends OwView
Dialog Manager. Opens Dialogs, redirects requests to dialogs, handles recursive calls to dialogs.
Dialog Manager itself is treated as a view and can show up anywhere in the layout.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwDialogManager() |
Modifier and Type | Method and Description |
---|---|
void |
closeAllDialogs()
closes all dialogs
|
void |
closeDialog(OwDialog dialog_p)
closes the latest dialog and removes it from the dialog list, and the context.
|
protected OwDialog |
getCurrentDialog()
get the current topmost dialog
|
String |
getTitle()
overridable title of the view
|
boolean |
isDialogOpen()
check if a dialog is currently open
|
protected void |
onRender(Writer w_p)
render the view
|
void |
openDialog(OwDialog dialog_p,
OwDialog.OwDialogListener listener_p)
display a new dialog, adds it to the context for Event handling.
|
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public void openDialog(OwDialog dialog_p, OwDialog.OwDialogListener listener_p) throws Exception
dialog_p
- Dialog-View of the new dialoglistener_p
- Listener that wants to be notified upon dialog events.Exception
public void closeDialog(OwDialog dialog_p) throws Exception
dialog_p
- Dialog-View to get closedException
public boolean isDialogOpen()
protected OwDialog getCurrentDialog()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.