|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwNavigationView
com.wewebu.ow.server.app.OwSubNavigationView
public class OwSubNavigationView
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
Nested Class Summary | |
---|---|
class |
OwSubNavigationView.OwSubTabInfo
a navigation item |
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwNavigationView |
---|
OwNavigationView.OwDelimiterTabInfo, OwNavigationView.OwTabInfo |
Field Summary | |
---|---|
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 |
protected int |
m_iUseFormUpdate
true = form of selected view gets updated on navigate, false = no update is performed |
Fields inherited from class com.wewebu.ow.server.ui.OwNavigationView |
---|
m_fValidatePanels, m_iCurrentTabIndex, m_TabList |
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 | |
---|---|
OwSubNavigationView()
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.wewebu.ow.server.ui.OwNavigationView |
---|
addDelimiter, addMenuItem, addView, clear, enable, enableAll, getNavigateEventURL, getNavigationFormAction, getNavigationIndex, getTabList, getTitle, getViewReference, isLastTabIndex, isPreviousPanelValid, navigate, navigate, navigateFirst, onNavigate, renderCurrentView, renderNavigationLink, setValidatePanels, size |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
---|
activate, 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, usesFormWithAttributes |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onRequest, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public OwSubNavigationView()
Method Detail |
---|
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 OwNavigationView
request_p
- HttpServletRequest
Exception
- 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.
Exception
protected String getIncludeJsp()
protected void onRender(Writer w_p) throws Exception
onRender
in class OwNavigationView
w_p
- Writer object to write HTML to
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |