|
||||||||||
| 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.OwAppContext
com.wewebu.ow.server.app.OwMainAppContext
public class OwMainAppContext
Main Application Context Class Implementation. Instance stays active during session.
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 |
|---|
| Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwAppContext |
|---|
OwAppContext.OwDialogManagerViewReference |
| Nested classes/interfaces inherited from interface com.wewebu.ow.server.ecm.OwRepositoryContext |
|---|
OwRepositoryContext.OwConfigChangeEvent, OwRepositoryContext.OwConfigChangeEventListener |
| Field Summary | |
|---|---|
static String |
CONFIGNODE_BASE
the XML node name Base |
static String |
CONFIGNODE_SERVER
the XML node name Server |
static String |
CONFIGNODE_URLOVERWRITE
the XML node name UrlOverwrite |
static String |
LITERAL_PLACEHOLDER_TODAY
placeholder for literals: will be replaced with todays date |
static String |
LITERAL_PLACEHOLDER_USER_DISPLAY_NAME
placeholder for literals: will be replaced with the user display name |
static String |
LITERAL_PLACEHOLDER_USER_ID
placeholder for literals: will be replaced with the user ID |
static String |
LITERAL_PLACEHOLDER_USER_LONG_NAME
placeholder for literals: will be replaced with the user long name |
static String |
LITERAL_PLACEHOLDER_USER_NAME
placeholder for literals: will be replaced with the user name |
static String |
LITERAL_PLACEHOLDER_USER_SHORT_NAME
placeholder for literals: will be replaced with the user short name |
protected OwClipboard |
m_clipboard
the one and only clipboard for the session |
static String |
PREFIX_DRAGDROP
prefix for the common DND document import temp directory |
protected static String |
WINDOW_POSITIONS_APP_SETTINGS_NAME
name of the window positions app setting |
| Constructor Summary | |
|---|---|
OwMainAppContext()
Create a new OwMainAppContext. |
|
| Method Summary | |
|---|---|
void |
addAjaxUpdateContainer(String containerId_p,
String ajaxEventHandler_p)
Add a pair of HTML container ID and the AJAX handler for it. |
void |
addConfigChangeEventListener(OwRepositoryContext.OwConfigChangeEventListener listener_p)
add a config change event listener to be notified about config changes |
void |
addDNDImportedDocumentToStack(OwDocumentImportItem importedDocument_p)
Add an to the stack of DND
imported documents. |
void |
addFinalScript(OwScript script_p)
Adds a single run custom java script The script runs upon m_request end, invoked by the onLoad Body tag handler. |
void |
addFinalScript(String strScript_p)
Adds a single run custom java script. |
boolean |
addUniqueFinalScript(OwScript script_p)
Add final script only if the same script was not already added. |
void |
addUserOperationListener(OwUserOperationListener listener_p)
Adds a user operation listener to this executor. |
void |
clearDragDropUploadDir()
delete temporarily drag and drop upload directory |
void |
clearFinalScript()
clear the final script for this request |
protected String |
createBaseUrl(javax.servlet.http.HttpServletRequest req_p)
(overridable) Create base URL which will be used to process the request. |
protected OwClipboard |
createClipboard()
Create an instance of the OwClipboard object. |
OwComboboxRenderer |
createComboboxRenderer()
Return a new instance of a combobox renderer, will read configuration settings and create the corresponding instance. |
OwComboboxRenderer |
createComboboxRenderer(OwComboModel model_p,
String strID_p,
OwFieldDefinition fieldDefinition_p,
OwFieldProvider fieldProvider_p,
OwString description_p)
Creates a renderer component for comboboxes. |
protected OwConfiguration |
createConfiguration()
Create an instance of the OwConfiguration object. |
OwFieldManager |
createFieldManager()
create a new instance of the field manager |
protected String |
createServerUrl(javax.servlet.http.HttpServletRequest req_p)
(overridable) Called to create the server URL for current request. |
String |
createTempDir(String strPrefix_p)
creates a unique temp directory |
OwAttributeBagWriteable |
createUserAttributeBag(String sName_p)
create a attribute bag for scalar settings specific for the current user. |
void |
deleteTempDir(String strDir_p)
deletes a temp dir and all files within it |
boolean |
doShowClipboard()
flag indicating if clipboard should be displayed |
boolean |
doShowWildCardDescriptions()
flag indicating if wild card descriptions should be displayed for searches. |
void |
dump(Writer w_p)
write debug dump to Writer |
String |
getAjaxUpdateURL(String containerId_p)
Get the AJAX handler, or null for the given HTML container ID. |
protected URL |
getAppContextResource(String resourcePath_p)
(overridable) Retrieves a resource for this application context. |
OwBaseConfiguration |
getBaseConfiguration()
retrieve the Configuration object |
String |
getClientID()
get a ID / name for the calling client |
String |
getClientWildCard(int wildcardtype_p)
get a wild card to be used in the client for the given wild card type |
OwClipboard |
getClipboard()
get the one and only clipboard for the session |
Collection |
getClipboardAvailableDocFunctionIds()
Get the document function plugin IDs available in clipboard. |
OwRepositoryContext.OwConfigChangeEventListener |
getConfigChangeEvent()
delegates OwConfigChangeEventListener notifications to the subscribed listeners |
String |
getConfigPath()
get the path to the configuration files |
OwConfiguration |
getConfiguration()
retrieve the Configuration object |
String |
getConfigurationName()
get a name for the configuration to use can be used to distinguish different applications |
OwCredentials |
getCredentials()
get the credentials of the logged in user |
String |
getCurrentMasterPluginID()
get the current ID to the active master plugin |
OwMasterView |
getCurrentMasterView()
get the current active master plugin view |
OwBaseUserInfo |
getCurrentUser()
get the current user |
String |
getDateFormatString()
get the format string to use for date values |
String |
getDateFormatStringWithoutDate()
get the format string to use for time values do not use date tokens |
String |
getDateFormatStringWithoutTime()
get the format string to use for date values do not use time tokens |
String |
getDefaultFolderClassName()
name of the default class used to create simple folders |
String |
getDesignDir()
get the directory of the used design. |
String |
getDesignURL()
get the URL of the used design. |
OwDialogManager |
getDialogManager()
get a reference to the default dialog manager used to open dialogs from the context in openDialog(...) The dialog manager must be created somewhere in the layout and set in the context. |
String |
getDNDDocumentImportTempDir()
|
OwDocumentImportItem |
getDNDImportedDocument(int i_p)
Get the i_pth imported document from the DND document import stack. |
int |
getDNDImportedDocumentsCount()
Get the size of the DND document import stack. |
String |
getDragAndDropUploadDir()
get the path of the current drag and drop upload directory |
Throwable |
getError()
get exception to display |
String |
getFinalScript()
get the current final script to be executed for this request |
OwHistoryManager |
getHistoryManager()
retrieve the network object |
OwInfoProviderRegistry |
getInfoProviderRegistry()
Get a info provider registry which is used to request information provider for special context. |
org.springframework.jdbc.core.JdbcTemplate |
getJDBCTemplate()
get a spring JDBC template for the default DataSource |
Locale |
getLocale()
get the current locale, which can be used as a prefix/postfix to distinguish localization resources |
String |
getLocalEventURL(String strLangID_p)
get a event URL to change the language NOTE: This event URL is not checked with request key, so it can be called arbitrary and be stored in the users browser. |
OwMandator |
getMandator()
get the mandator interface of the current logged in user |
String |
getMandatorID()
get a ID / name for the calling mandator |
OwMandatorManager |
getMandatorManager()
retrieve the MandatorManager reference |
int |
getMaxClipboardSize()
Get maximum number of items that can be hold in the clipboard |
int |
getMaxSortCriteriaCount()
get the maximum number of sort criteria, which can be applied to a list at once |
Collection |
getMessages()
Get a collection of messages to display |
OwNetwork |
getNetwork()
retrieve the network object |
int |
getNextDNDDocumentImportFileID()
|
int |
getPageSizeForLists()
number of items in a page for lists which support paging |
OwRoleManager |
getRoleManager()
retrieve the RoleManager object |
boolean |
getSafeBooleanAppSetting(String strName_p,
boolean default_p)
get a setting for the application |
String |
getSafeCurrentMasterPluginStyleClassID()
get a ID for the current master plugin that can be used to create a HTML class style ID |
int |
getSafeIntAppSetting(String strName_p,
int iDefault_p)
get a setting for the application |
Collection |
getSafeListAppSetting(String strName_p)
get a setting for the application |
String |
getSafeStringAppSetting(String strName_p,
String strDefault_p)
get a setting for the application |
String |
getSessionCookieData(javax.servlet.http.HttpServletRequest httpServletRequest)
get session cookie name value pairs delimited by whitespace |
List |
getSessionCookieNames()
get the list of the session cookie names as configured in owbootstrap.xml (<SessionCookieNames>) |
String |
getSessionDisplayName()
get a name for the current session, used for warning and error logs to identify the session later. |
OwSettings |
getSettings()
retrieve the settings object |
String |
getStartupID()
get the ID of the startup plugin |
String |
getTimeFormatString()
get the format string to use for time values |
OwBaseUserInfo |
getUserInfo()
get the logged in user |
OwWindowPositions |
getWindowPositions()
get a setting for the application |
String |
getWindowPositionsSaveURL()
get a event URL to save the viewer and main window position the position values have to be appended as a query string, using the getter / setter names as request parameter names in the following form: "[getter / setter name]" e.g.: for getViewerHeight the Parameter name would be "ViewerHeight" |
boolean |
handleRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
handles the m_request from the page and dispatches ONLY to the selected target |
boolean |
hasLabel(String strName_p)
check if a display label is defined for the given symbol name |
protected void |
init()
init the target after the context is set. |
void |
init(OwAppContext oldcontext_p)
init the context BEFORE the user has logged on. |
protected void |
initializeUserOperationListeners()
Initialize the listeners for user operations (at the login time) |
boolean |
isAllowed(int iCategory_p,
String strFunctionName_p)
check if function or plugin is available for the user. |
boolean |
isContainerBasedAuthenticated()
check the current user is authenticated container based |
boolean |
isLogin()
check the credentials of the logged in user |
boolean |
isUseHtml5DragAndDrop()
flag indicating if the application should use the HTML5 implementation of the DnD feature. |
String |
localizeLabel(String strName_p)
optionally translate a name into a readable label, used for property class names in ECM adaptors which do not support separate displaynames |
void |
loginInit()
init the context AFTER the user has logged in. |
void |
logout()
clear the credentials, i.e. |
void |
onActivateMasterPlugin(OwMasterView view_p)
notify the context about the new activated master plugin in order to generate context sensitive information |
void |
onLogin(OwBaseUserInfo user_p)
called when user gets logged in |
void |
onSaveWindowPositions(javax.servlet.http.HttpServletRequest request_p)
called when getWindowPositionsSaveURL was invoked see getWindowPositionsSaveURL for details |
void |
onSessionTimeOut(javax.servlet.http.HttpSession httpSession_p)
called when the session times out |
void |
openHelp(String sHelppath_p)
opens a help page in the connected help plugin if available |
void |
postMessage(String sMessage_p)
add a message to be displayed for user info |
void |
registerPluginKeyEvent(String strPluginID_p,
String strEventURL_p,
String strFormName_p,
String strDescription_p)
register a key event for this plugin if defined in key map, call in onRender method only |
void |
releaseDNDImportedDocuments()
Release all imported documents of the DND document import stack and remove the current temp dir. |
void |
removeConfigChangeEventListener(OwRepositoryContext.OwConfigChangeEventListener listener_p)
add a config change event listener to be notified about config changes |
void |
removeUserOperationListener(OwUserOperationListener listener_p)
Removes the given user operation listener from this executor. |
void |
resetMessages()
Reset messages collection. |
Object |
resolveLiteralPlaceholder(String contextname_p,
String placeholdername_p)
resolve the given literal placeholder name to a property / criteria value |
void |
setError(Throwable exception_p)
set exception to display |
void |
setLocale(Locale locale_p)
|
boolean |
useJS_DateControl()
flag indicating if the java script Date control should be used instead of a HTML combobox control |
| Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
|---|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.wewebu.ow.server.role.OwRoleManagerContext |
|---|
getBasePath, getInitParameter, getXMLConfigDoc, localize, localize1, localize2, localize3 |
| Methods inherited from interface com.wewebu.ow.server.ecm.OwNetworkContext |
|---|
getClientTimeZone, getClientTimeZoneInfo |
| Methods inherited from interface com.wewebu.ow.server.ecm.OwRepositoryContext |
|---|
getConfigURL, localize, localize1, localize2, localize3 |
| Methods inherited from interface com.wewebu.ow.server.mandator.OwMandatorManagerContext |
|---|
getBasePath, getInitParameter, getXMLConfigDoc, localize, localize1, localize2, localize3 |
| Field Detail |
|---|
protected static final String WINDOW_POSITIONS_APP_SETTINGS_NAME
public static final String LITERAL_PLACEHOLDER_TODAY
public static final String LITERAL_PLACEHOLDER_USER_ID
public static final String LITERAL_PLACEHOLDER_USER_NAME
public static final String LITERAL_PLACEHOLDER_USER_LONG_NAME
public static final String LITERAL_PLACEHOLDER_USER_SHORT_NAME
public static final String LITERAL_PLACEHOLDER_USER_DISPLAY_NAME
public static final String CONFIGNODE_URLOVERWRITE
UrlOverwrite
public static final String CONFIGNODE_SERVER
Server
public static final String CONFIGNODE_BASE
Base
public static final String PREFIX_DRAGDROP
protected OwClipboard m_clipboard
| Constructor Detail |
|---|
public OwMainAppContext()
| Method Detail |
|---|
protected OwConfiguration createConfiguration()
protected OwClipboard createClipboard()
public String getCurrentMasterPluginID()
public String getSafeCurrentMasterPluginStyleClassID()
public OwMasterView getCurrentMasterView()
public void onActivateMasterPlugin(OwMasterView view_p)
throws Exception
view_p - OwMasterView
Exceptionpublic OwDialogManager getDialogManager()
getDialogManager in class OwAppContextpublic Throwable getError()
public void setError(Throwable exception_p)
public Collection getMessages()
public void postMessage(String sMessage_p)
sMessage_p -
public void init(OwAppContext oldcontext_p)
throws Exception
init in class OwAppContextoldcontext_p - OwAppContext old context from previous session, used to copy flags, locals. Optional, can be null
Exception
protected void initializeUserOperationListeners()
throws Exception
Exception
protected void init()
throws Exception
init in class OwEventTargetException
public void onLogin(OwBaseUserInfo user_p)
throws OwConfigurationException
onLogin in interface OwNetworkContextOwConfigurationExceptionpublic Locale getLocale()
getLocale in interface OwRepositoryContextgetLocale in interface OwMandatorManagerContextgetLocale in interface OwRoleManagerContextgetLocale in class OwAppContextpublic void setLocale(Locale locale_p)
setLocale in class OwAppContext
public boolean isAllowed(int iCategory_p,
String strFunctionName_p)
throws Exception
iCategory_p - Category of the function in question, e.g. "MainPlugin", "TaskFunction", "SearchTemplate"...strFunctionName_p - Name of Function or Plugin
Exception
public void loginInit()
throws Exception
loginInit in class OwAppContextExceptionpublic OwNetwork getNetwork()
getNetwork in interface OwRoleManagerContextpublic OwHistoryManager getHistoryManager()
getHistoryManager in interface OwRoleManagerContextpublic OwRoleManager getRoleManager()
public OwFieldManager createFieldManager()
throws Exception
Exceptionpublic OwConfiguration getConfiguration()
public OwBaseConfiguration getBaseConfiguration()
getBaseConfiguration in interface OwHistoryManagerContextgetBaseConfiguration in interface OwRoleManagerContextpublic OwSettings getSettings()
public OwCredentials getCredentials()
throws Exception
Exception
public boolean isLogin()
throws Exception
isLogin in class OwAppContextException
public boolean isContainerBasedAuthenticated()
throws Exception
isContainerBasedAuthenticated in class OwAppContextException
public void logout()
throws Exception
logout in class OwAppContextExceptionpublic void onSessionTimeOut(javax.servlet.http.HttpSession httpSession_p)
httpSession_p -
public String getDesignDir()
throws Exception
OwAppContext
getDesignDir in class OwAppContextException
public String getDesignURL()
throws Exception
OwAppContext
getDesignURL in class OwAppContextExceptionpublic String getLocalEventURL(String strLangID_p)
strLangID_p - String ID of the language e.g.: "de"
public void openHelp(String sHelppath_p)
throws Exception
sHelppath_p - String path to the help page
Exception
public boolean handleRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws Exception
handleRequest in class OwAppContextrequest_p - HttpServletRequestresponse_p - HttpServletResponse
Exceptionpublic void addFinalScript(OwScript script_p)
script_p - The new script to be added.public boolean addUniqueFinalScript(OwScript script_p)
script_p - - the OwScript object
true if the script was not added before in scripts list.public void addFinalScript(String strScript_p)
strScript_p - String custom java script code (without public void clearFinalScript()
public String getFinalScript()
public String getSessionDisplayName()
getSessionDisplayName in class OwAppContextpublic OwBaseUserInfo getUserInfo()
getUserInfo in class OwAppContext
public void dump(Writer w_p)
throws Exception
dump in class OwAppContextw_p - HTML Writer
Exceptionpublic OwClipboard getClipboard()
public String getConfigurationName()
getConfigurationName in interface OwRepositoryContextgetConfigurationName in interface OwMandatorManagerContextgetConfigurationName in interface OwRoleManagerContextpublic String localizeLabel(String strName_p)
localizeLabel in interface OwRepositoryContextlocalizeLabel in interface OwMandatorManagerContextlocalizeLabel in interface OwRoleManagerContextstrName_p - name e.g. attribute name to look for
public boolean hasLabel(String strName_p)
hasLabel in interface OwRepositoryContexthasLabel in interface OwMandatorManagerContexthasLabel in interface OwRoleManagerContextstrName_p - name e.g. attribute name to look for
public void registerPluginKeyEvent(String strPluginID_p,
String strEventURL_p,
String strFormName_p,
String strDescription_p)
throws Exception
strPluginID_p - String ID of the plugin to registerstrEventURL_p - String event URL of plugin to openstrFormName_p - String optional form namestrDescription_p - String description for key table
Exception
public int getSafeIntAppSetting(String strName_p,
int iDefault_p)
strName_p - name of property to retrieveiDefault_p - default int value
public String getSafeStringAppSetting(String strName_p,
String strDefault_p)
strName_p - name of property to retrievestrDefault_p - default String value
public Collection getSafeListAppSetting(String strName_p)
strName_p - name of property to retrieve
public boolean getSafeBooleanAppSetting(String strName_p,
boolean default_p)
strName_p - name of property to retrievedefault_p - Object if setting is not defined in plugin descriptor
public boolean useJS_DateControl()
public String getDateFormatString()
public String getTimeFormatString()
public String getDateFormatStringWithoutTime()
public String getDateFormatStringWithoutDate()
public int getMaxClipboardSize()
public Collection getClipboardAvailableDocFunctionIds()
Collection - a collection containing plugin IDs.public boolean doShowClipboard()
public boolean doShowWildCardDescriptions()
public boolean isUseHtml5DragAndDrop()
public int getPageSizeForLists()
public String getStartupID()
public int getMaxSortCriteriaCount()
public OwWindowPositions getWindowPositions()
public String getWindowPositionsSaveURL()
public void onSaveWindowPositions(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionpublic void deleteTempDir(String strDir_p)
deleteTempDir in interface OwRepositoryContextdeleteTempDir in interface OwMandatorManagerContextdeleteTempDir in interface OwRoleManagerContextstrDir_p - String directory
public String createTempDir(String strPrefix_p)
throws OwConfigurationException
createTempDir in interface OwRepositoryContextcreateTempDir in interface OwMandatorManagerContextcreateTempDir in interface OwRoleManagerContextstrPrefix_p - String prefix to use for name
OwConfigurationExceptionpublic String getDragAndDropUploadDir()
public void clearDragDropUploadDir()
throws Exception
Exceptionpublic void addDNDImportedDocumentToStack(OwDocumentImportItem importedDocument_p)
OwDocumentImportItem to the stack of DND
imported documents.
importedDocument_p - the new OwDocumentImportItem to add to the stackpublic OwDocumentImportItem getDNDImportedDocument(int i_p)
i_pth imported document from the DND document import stack.
i_p - the (0-based) index of the imported document to return
i_pth imported document from the DND document import stackpublic int getDNDImportedDocumentsCount()
public void releaseDNDImportedDocuments()
throws Exception
Exception
public String getDNDDocumentImportTempDir()
throws OwConfigurationException
OwConfigurationExceptionpublic int getNextDNDDocumentImportFileID()
public OwAttributeBagWriteable createUserAttributeBag(String sName_p)
throws Exception
sName_p - String name of the attribute bag
Exception
public OwBaseUserInfo getCurrentUser()
throws Exception
OwHistoryManagerContext
getCurrentUser in interface OwNetworkContextgetCurrentUser in interface OwHistoryManagerContextgetCurrentUser in interface OwMandatorManagerContextgetCurrentUser in interface OwRoleManagerContextExceptionpublic String getClientID()
getClientID in interface OwRepositoryContextgetClientID in interface OwMandatorManagerContextgetClientID in interface OwRoleManagerContextpublic String getDefaultFolderClassName()
getDefaultFolderClassName in interface OwNetworkContextpublic String getClientWildCard(int wildcardtype_p)
getClientWildCard in interface OwRepositoryContextwildcardtype_p - as defined in OwWildCardDefinition.WILD_CARD_TYPE_...
public OwRepositoryContext.OwConfigChangeEventListener getConfigChangeEvent()
OwRepositoryContext.OwConfigChangeEventListenerpublic void addConfigChangeEventListener(OwRepositoryContext.OwConfigChangeEventListener listener_p)
addConfigChangeEventListener in interface OwRepositoryContextlistener_p - public void removeConfigChangeEventListener(OwRepositoryContext.OwConfigChangeEventListener listener_p)
listener_p - public String getMandatorID()
getMandatorID in interface OwRepositoryContextgetMandatorID in interface OwRoleManagerContextpublic OwMandatorManager getMandatorManager()
getMandatorManager in interface OwRepositoryContextgetMandatorManager in interface OwRoleManagerContextOwMandatorManagerpublic OwMandator getMandator()
getMandator in interface OwRepositoryContextgetMandator in interface OwRoleManagerContextpublic org.springframework.jdbc.core.JdbcTemplate getJDBCTemplate()
OwRepositoryContext
getJDBCTemplate in interface OwRepositoryContextgetJDBCTemplate in interface OwRoleManagerContext
public Object resolveLiteralPlaceholder(String contextname_p,
String placeholdername_p)
throws Exception
OwNetworkContext
resolveLiteralPlaceholder in interface OwNetworkContextcontextname_p - String name of calling context, e.g. searchtemplate nameplaceholdername_p - String name of placeholder to retrieve value for
Object
Exceptionprotected URL getAppContextResource(String resourcePath_p)
getAppContextResource in class OwAppContextresourcePath_p - the classpath sub-path to retrieve
URL of the requested resource relative to this class classpath
public OwComboboxRenderer createComboboxRenderer(OwComboModel model_p,
String strID_p,
OwFieldDefinition fieldDefinition_p,
OwFieldProvider fieldProvider_p,
OwString description_p)
model_p - - the OwComboModel objectstrID_p - - the HTML id of this combo.fieldDefinition_p - - the OwFieldDefinition objectfieldProvider_p - - the OwFieldProvider objectdescription_p - - the OwString description of the field .
If null the description of the field definition will be used.
OwComboboxRenderer object.
public void addAjaxUpdateContainer(String containerId_p,
String ajaxEventHandler_p)
containerId_p - - the HTML container idajaxEventHandler_p - - the AJAX handlerpublic String getAjaxUpdateURL(String containerId_p)
null for the given HTML container ID.
containerId_p - - the HTML container id
null for the given HTML container ID.public OwInfoProviderRegistry getInfoProviderRegistry()
OwAppContext
getInfoProviderRegistry in class OwAppContextpublic void resetMessages()
public void addUserOperationListener(OwUserOperationListener listener_p)
OwUserOperationExecutor
addUserOperationListener in interface OwUserOperationExecutorlistener_p - - the listener to be added.public void removeUserOperationListener(OwUserOperationListener listener_p)
OwUserOperationExecutor
removeUserOperationListener in interface OwUserOperationExecutorpublic OwComboboxRenderer createComboboxRenderer()
OwComboboxRendererFactory
createComboboxRenderer in interface OwComboboxRendererFactorypublic List getSessionCookieNames()
public String getSessionCookieData(javax.servlet.http.HttpServletRequest httpServletRequest)
protected String createServerUrl(javax.servlet.http.HttpServletRequest req_p)
OwAppContext
createServerUrl in class OwAppContextreq_p - HttpRequest
protected String createBaseUrl(javax.servlet.http.HttpServletRequest req_p)
OwAppContext
createBaseUrl in class OwAppContextreq_p - HttpServletRequest
public String getConfigPath()
OwMandatorManagerContext
getConfigPath in interface OwMandatorManagerContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||