com.wewebu.ow.server.app
Class OwMultipleSelectionCall.OwValidatorMessageBox
java.lang.Object
com.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwLayout
com.wewebu.ow.server.ui.OwDialog
com.wewebu.ow.server.app.OwStandardDialog
com.wewebu.ow.server.app.OwMessageBox
com.wewebu.ow.server.app.OwMultipleSelectionCall.OwValidatorMessageBox
- All Implemented Interfaces:
- OwBaseView, OwUpdateTarget
- Enclosing class:
- OwMultipleSelectionCall
public class OwMultipleSelectionCall.OwValidatorMessageBox
- extends OwMessageBox
YES/NO validating message box implementation
Fields inherited from class com.wewebu.ow.server.app.OwMessageBox |
ACTION_STYLE_BUTTON, ACTION_STYLE_LINK, ICON_TYPE_EXCLAMATION, ICON_TYPE_INFO, ICON_TYPE_QUESTION, ICON_TYPE_WARNING, TYPE_CANCEL, TYPE_OK, TYPE_OK_CANCEL, TYPE_YES_NO, TYPE_YES_NO_CANCEL |
Fields inherited from class com.wewebu.ow.server.app.OwStandardDialog |
CLOSE_BTN_REGION, FOOTER_REGION, HELP_BTN_REGION, INFO_ICON_REGION, LEFT_REGION, m_strHelpPath, m_strInfoIconURL, m_strTitle, MAIN_REGION, MENU_REGION, RIGHT_REGION, STANDARD_DIALOG_REGION_MAX, TITLE_REGION |
Method Summary |
void |
onCancel(javax.servlet.http.HttpServletRequest request_p)
NO handler. |
void |
onNo(javax.servlet.http.HttpServletRequest request_p)
NO handler. |
void |
onYes(javax.servlet.http.HttpServletRequest request_p)
YES handler. |
Methods inherited from class com.wewebu.ow.server.app.OwStandardDialog |
getInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitle |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, 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 |
OwMultipleSelectionCall.OwValidatorMessageBox
public OwMultipleSelectionCall.OwValidatorMessageBox(String title_p,
String strText_p)
- Constructor.
Creates a yes/no question validation message box.
- Parameters:
title_p
- strText_p
-
OwMultipleSelectionCall.OwValidatorMessageBox
public OwMultipleSelectionCall.OwValidatorMessageBox(int type_p,
int iconType_p,
String title_p,
String strText_p)
- Constructor
- Parameters:
title_p
- type_p
- message box type as in OwMessageBox.OwMessageBox(int, int, String, String)
iconType_p
- message box icon type as in OwMessageBox.OwMessageBox(int, int, String, String)
strText_p
- - Since:
- 2.5.2.0
onYes
public void onYes(javax.servlet.http.HttpServletRequest request_p)
throws Exception
- YES handler.
The user chooses to go on with the function call.
The dialog is closed than the document function is invoked.
- Overrides:
onYes
in class OwMessageBox
- Parameters:
request_p
-
- Throws:
Exception
onNo
public void onNo(javax.servlet.http.HttpServletRequest request_p)
throws Exception
- NO handler.
The dialog is closed.
- Overrides:
onNo
in class OwMessageBox
- Parameters:
request_p
-
- Throws:
Exception
onCancel
public void onCancel(javax.servlet.http.HttpServletRequest request_p)
throws Exception
- NO handler.
The dialog is closed.
- Overrides:
onCancel
in class OwMessageBox
- Parameters:
request_p
-
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.