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
OwDialog.OwDialogListener
OwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrence
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
m_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_Listener
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwStandardSequenceDialog() |
Modifier and Type | Method and Description |
---|---|
protected String |
getNextHREF() |
protected String |
getPrevHREF() |
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
|
getInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitle
closeDialog, setListener
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
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
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCount, next, prev
public boolean hasNext() throws Exception
hasNext
in interface OwSequenceView
Exception
public boolean hasPrev() throws Exception
hasPrev
in interface OwSequenceView
Exception
public void renderRegion(Writer w_p, int iRegion_p) throws Exception
renderRegion
in interface OwBaseView
renderRegion
in class OwStandardDialog
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to renderException
public void renderNavigationButtons(Writer w_p) throws Exception
w_p
- Exception
protected String getPrevHREF()
protected String getNextHREF()
public void onPrev(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.