com.wewebu.ow.server.app
Class OwStandardSequenceDialog
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.OwStandardSequenceDialog
- All Implemented Interfaces:
- OwSequenceView, OwBaseView, OwUpdateTarget
- Direct Known Subclasses:
- OwObjectSequenceDialog
public abstract class OwStandardSequenceDialog
- extends OwStandardDialog
- implements OwSequenceView
Extends the Standard Dialog with a prev / next button, as well as a overridden listener interface
to handle sequences.
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
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 |
boolean |
hasNext()
called when the Dialog needs to know if there is a next item |
boolean |
hasPrev()
called when the Dialog needs to know if there is a prev item |
void |
onNext(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked a close on the dialog |
void |
onPrev(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked a close on the dialog |
void |
renderNavigationButtons(Writer w_p)
render Prev and Next buttons |
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region |
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, init, 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 |
OwStandardSequenceDialog
public OwStandardSequenceDialog()
hasNext
public boolean hasNext()
throws Exception
- called when the Dialog needs to know if there is a next item
- Specified by:
hasNext
in interface OwSequenceView
- Throws:
Exception
hasPrev
public boolean hasPrev()
throws Exception
- called when the Dialog needs to know if there is a prev item
- Specified by:
hasPrev
in interface OwSequenceView
- Throws:
Exception
renderRegion
public void renderRegion(Writer w_p,
int iRegion_p)
throws Exception
- render the views of the region
- Specified by:
renderRegion
in interface OwBaseView
- Overrides:
renderRegion
in class OwStandardDialog
- Parameters:
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to render
- Throws:
Exception
renderNavigationButtons
public void renderNavigationButtons(Writer w_p)
throws Exception
- render Prev and Next buttons
- Parameters:
w_p
-
- Throws:
Exception
- Since:
- 3.1.0.0
onPrev
public void onPrev(javax.servlet.http.HttpServletRequest request_p)
throws Exception
- event called when user clicked a close on the dialog
- Parameters:
request_p
- HttpServletRequest
- Throws:
Exception
onNext
public void onNext(javax.servlet.http.HttpServletRequest request_p)
throws Exception
- event called when user clicked a close on the dialog
- Parameters:
request_p
- HttpServletRequest
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.