|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwDialogManager
public class OwDialogManager
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
Field Summary |
---|
Fields inherited from class com.wewebu.ow.server.ui.OwView |
---|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget |
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
---|
EMPTY_STRING |
Constructor Summary | |
---|---|
OwDialogManager()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
---|
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 |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwDialogManager()
Method Detail |
---|
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 closed
Exception
public boolean isDialogOpen()
public void closeAllDialogs() throws Exception
Exception
protected OwDialog getCurrentDialog()
protected void onRender(Writer w_p) throws Exception
onRender
in class OwView
w_p
- Writer object to write HTML to
Exception
public String getTitle()
OwView
getTitle
in interface OwBaseView
getTitle
in class OwView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |