public class OwSubNavigationView extends OwNavigationView
Sub View Navigation UI Module.
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
| Modifier and Type | Class and Description |
|---|---|
class |
OwSubNavigationView.OwSubTabInfo
a navigation item
|
OwNavigationView.OwAbstractTabInfo, OwNavigationView.OwDelimiterTabInfo, OwNavigationView.OwTabInfo| Modifier and Type | Field and Description |
|---|---|
static int |
FORM_UPDATE_NONE
update enum used in activateFormUpdate: do not perform an update
|
static int |
FORM_UPDATE_NORMAL
update enum used in activateFormUpdate: do update the selected formview
|
static int |
FORM_UPDATE_SAVE
update enum used in activateFormUpdate: do update and save the selected formview
|
static String |
KEYBOARD_DOWN |
static String |
KEYBOARD_UP |
protected int |
m_iUseFormUpdate
true = form of selected view gets updated on navigate, false = no update is performed
|
m_fValidatePanels, m_iCurrentTabIndex, m_TabListCURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwSubNavigationView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activateFormUpdate(int iUseFormUpdate_p)
set the form activate flat
true = form of selected view gets updated on navigate, false = no update is performed
|
int |
addView(OwView view_p,
String strTitle_p,
String strName_p,
String strImage_p,
Object oReason_p,
String strToolTip_p)
add a View with optional image to the navigation module.
|
protected String |
getIncludeJsp()
(overridable) JSP inclusion getter.
|
String |
getTitle(int iIndex_p)
get the title of the menu item
|
void |
onFormEvent(javax.servlet.http.HttpServletRequest request_p)
called before a form event is caught.
|
protected void |
onRender(Writer w_p)
render the navigation bar
|
void |
setTitle(String strNewTitle_p,
int iIndex_p)
change the title of the menu item
|
addDelimiter, addMenuItem, addView, clear, enable, enableAll, getNavigateEventURL, getNavigationFormAction, getNavigationIndex, getTab, getTabList, getTitle, getViewReference, isLastTabIndex, isPreviousPanelValid, navigate, navigate, navigate, navigateFirst, onNavigate, registerView, renderCurrentView, renderNavigationLink, setValidatePanels, setVisible, sizeactivate, 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, usesFormWithAttributesattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onRequest, updateExternalFormTargetpublic static String KEYBOARD_UP
public static String KEYBOARD_DOWN
public static final int FORM_UPDATE_NONE
public static final int FORM_UPDATE_NORMAL
public static final int FORM_UPDATE_SAVE
protected int m_iUseFormUpdate
protected void activateFormUpdate(int iUseFormUpdate_p)
iUseFormUpdate_p - int flag as defined with FORM_UPDATE_...public void onFormEvent(javax.servlet.http.HttpServletRequest request_p)
throws Exception
onFormEvent in class OwNavigationViewrequest_p - HttpServletRequestException - if OwEventTarget.getFormTarget() update call failspublic void setTitle(String strNewTitle_p, int iIndex_p)
strNewTitle_p - String new titleiIndex_p - int index of the item to set the title forpublic String getTitle(int iIndex_p)
iIndex_p - int index of the itempublic int addView(OwView view_p, String strTitle_p, String strName_p, String strImage_p, Object oReason_p, String strToolTip_p) throws Exception
view_p - View to addstrTitle_p - name of the tab to be displayedstrName_p - optional Name / ID of the view, can be null.strImage_p - optional imageoReason_p - optional object to be submitted to the event handler / view. Can be null.Exceptionprotected String getIncludeJsp()
protected void onRender(Writer w_p) throws Exception
onRender in class OwNavigationVieww_p - Writer object to write HTML toExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.