com.wewebu.ow.server.app
Class OwMultipleSelectionCall.OwValidatorMessageBox

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.ui.OwLayout
              extended by com.wewebu.ow.server.ui.OwDialog
                  extended by com.wewebu.ow.server.app.OwStandardDialog
                      extended by com.wewebu.ow.server.app.OwMessageBox
                          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwDialog
OwDialog.OwDialogListener
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout
OwLayout.OwDispatchRegion
 
Field Summary
 
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
 
Fields inherited from class com.wewebu.ow.server.ui.OwDialog
m_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_Listener
 
Fields inherited from class com.wewebu.ow.server.ui.OwLayout
m_Regions
 
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
OwMultipleSelectionCall.OwValidatorMessageBox(int type_p, int iconType_p, String title_p, String strText_p)
          Constructor
OwMultipleSelectionCall.OwValidatorMessageBox(String title_p, String strText_p)
          Constructor.
Creates a yes/no question validation message box.
 
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.OwMessageBox
init, onCancel, onNo, onOK, onOK, onYes, renderRegion
 
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.OwDialog
closeDialog, setListener
 
Methods inherited from class com.wewebu.ow.server.ui.OwLayout
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
 
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
 

Constructor Detail

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
Method Detail

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.