public abstract class ERXAjaxApplication extends WOApplication
Name | Description |
---|---|
er.extensions.ERXAjaxApplication.allowContextPageResponse | er.extensions.ERXAjaxApplication.allowContextPageResponse |
Modifier and Type | Class and Description |
---|---|
static interface |
ERXAjaxApplication.ERXAjaxResponseDelegate
ERXAjaxResponseDelegate receives callbacks from within the R-R loop when
certain situations occur.
|
WOApplication._EventLoggingEnabler, WOApplication.Event, WOApplication.TimeoutTask
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
static String |
KEY_AJAX_SUBMIT_BUTTON |
static String |
KEY_PARTIAL_FORM_SENDER_ID |
static String |
KEY_REPLACED |
static String |
KEY_UPDATE_CONTAINER_ID |
_adminRequestHandlerKey, _cgiAdaptorURLParsed, _classPathURLs, _launchServices, _terminating, _TheLastApplicationAccessTime, _unsetHost, _wasMainInvoked, ApplicationDidDispatchRequestNotification, ApplicationDidFinishLaunchingNotification, ApplicationWillDispatchRequestNotification, ApplicationWillFinishLaunchingNotification, CGIAdaptorURLProperty, DirectoryAliasProperty, DocumentRootProperty
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
Constructor and Description |
---|
ERXAjaxApplication() |
Modifier and Type | Method and Description |
---|---|
static String |
ajaxSubmitButtonName(WORequest request)
Returns the form name of the submitting Ajax button.
|
static void |
cleanUpHeaders(WOResponse response)
Removes Ajax response headers that are no longer necessary.
|
static void |
enableShouldNotStorePage()
Set flag on current context to not store the current page.
|
static boolean |
forceStorePage(WOMessage message)
Checks if the page should not be stored in the cache
ページを強制的にキャシュに登録する必要ああるかどうかをチェックします。
|
WOActionResults |
invokeAction(WORequest request,
WOContext context)
Overridden to allow for redirected responses.
|
static boolean |
isAjaxReplacement(WORequest request)
Returns true if this is an Ajax replacement (_r key is set).
|
static boolean |
isAjaxRequest(WORequest request)
Return whether or not the given request is an Ajax request.
|
static boolean |
isAjaxSubmit(WORequest request)
Returns true if this is an ajax submit.
|
static boolean |
isAjaxUpdate(WORequest request)
Returns true if this request will update an AjaxUpdateContainer.
|
static String |
partialFormSenderID(WORequest request)
Returns the form name of the partial form submission.
|
static void |
setForceStorePage(WOMessage message)
ページを強制的にキャシュに登録します。
|
void |
setResponseDelegate(ERXAjaxApplication.ERXAjaxResponseDelegate responseDelegate)
Sets the response delegate for this application.
|
static boolean |
shouldIgnoreResults(WORequest request,
WOContext context,
WOActionResults results) |
static boolean |
shouldNotStorePage(WOContext context)
Checks if the page should not be stored in the cache
ページがキャッシュに登録する必要がないことをチェックします。
|
static boolean |
shouldNotStorePage(WOMessage message)
Checks if the page should not be stored in the cache
キャッシュ内にページを登録しないかどうかをチェックします。
|
void |
takeValuesFromRequest(WORequest request,
WOContext context)
Ajax links have a ?_u=xxx&2309482093 in the url which makes it look like a form submission to WebObjects.
|
_addToExpectedLanguages, _allowsCacheControlHeader, _checksForSpecialHeaders, _componentDefinition, _componentDefinitionFromClassNamed, _debugString, _discountTerminatedSession, _expectedLanguages, _finishInitializingSession, _initializeSessionInContext, _isDebuggingEnabled, _isDomesticSupportedDevelopmentPlatform, _isForeignSupportedDevelopmentPlatform, _isPageRecreationEnabled, _isSupportedDevelopmentPlatform, _lockDefaultEditingContext, _newLocationForRequest, _openInitialURL, _parseCGIAdaptorURL, _quitTimer, _rapidTurnaroundActiveForAnyProject, _removeComponentDefinitionCacheContents, _runLoop, _sessionClass, _setAllowsCacheControlHeader, _setChecksForSpecialHeaders, _setHost, _setHostAddress, _setLifebeatDestinationPort, _setLockDefaultEditingContext, _terminateFromMonitor, _terminateOrResetTimer, activeSessionsCount, adaptor, adaptorExtensions, adaptorName, adaptorPath, adaptors, adaptorsDispatchRequestsConcurrently, adaptorWithName, additionalAdaptors, ajaxRequestHandlerKey, allowsConcurrentRequestHandling, appendToResponse, application, applicationBaseURL, applicationExtension, associationFactory, associationFactoryRegistry, autoOpenClientApplication, autoOpenInBrowser, awake, baseURL, canAccessFieldsDirectly, cgiAdaptorURL, combinedComponentPathURL, componentRequestHandlerKey, contextClassName, createContextForRequest, createDefaultAssociationFactoryRegistry, createDefaultNamespaceProvider, createRequest, createResourceManager, createResponseInContext, createSessionForRequest, debugString, defaultAdaptor, defaultRequestHandler, defaultRequestHandlerClassName, defaultUndoStackLimit, directActionRequestHandlerKey, directConnectURL, dispatchRequest, documentRoot, dynamicElementWithName, frameworksBaseURL, getAdaptorsDispatchRequestsConcurrently, getAdditionalAdaptors, getAgentID, getAllowsConcurrentRequestHandling, getApplicationBaseURL, getApplicationExtension, getAutoOpenClientApplication, getBaseURL, getCGIAdaptorURL, getClassPaths, getComponentRequestHandlerKey, getDefaultAdaptor, getDefaultUndoStackLimit, getDirectConnectURL, getFrameworkVersions, getHost, getHostAddress, getIncludeCommentsInResponses, getIsCachingEnabled, getIsMonitorEnabled, getIsPageRefreshOnBacktrackEnabled, getIsRefusingNewSessions, getIsTerminating, getJMXDomain, getLifebeatDestinationPort, getLifebeatInterval, getListenQueueSize, getMaxSocketIdleTime, getMBeanServer, getMinimumActiveSessionsCount, getName, getOutputPath, getPageCacheSize, getPageFragmentCacheSize, getPort, getServletConnectURL, getSessionTimeOut, getTimeOut, getWebObjectsVersion, getWebserverConnectURL, getWorkerThreadCountMax, getWorkerThreadCountMin, handleActionRequestError, handleException, handleMalformedCookieString, handlePageRestorationErrorInContext, handleQueryWithUnboundKey, handlerForRequest, handleSessionCreationErrorInContext, handleSessionRestorationErrorInContext, handleTakeValueForUnboundKey, host, hostAddress, includeCommentsInResponses, instanceIdKey, isCachingEnabled, isConcurrentRequestHandlingEnabled, isDebuggingEnabled, isDirectConnectEnabled, isMonitorEnabled, isPageRefreshOnBacktrackEnabled, isRefusingNewSessions, isTerminating, launchArguments, licensedRequestLimit, licensedRequestWindow, licensingAllowsMultipleInstances, licensingAllowsMultipleThreads, lifebeatDestinationPort, lifebeatEnabled, lifebeatInterval, listenQueueSize, loadFrameworks, lock, logSetValueForDeclarationNamed, logString, logTakeValueForDeclarationNamed, main, main, maxSocketIdleTime, minimumActiveSessionsCount, monitorEnabled, monitorHost, monitoringEnabled, name, namespaceProvider, newDynamicURL, newDynamicURL, number, outputPath, pageCacheSize, pageFragmentCacheSize, pageWithName, path, permanentPageCacheSize, port, primeApplication, primeApplication, printsHTMLParserDiagnostics, projectSearchPath, recordingPath, refuseNewSessions, registeredRequestHandlerKeys, registerMBean, registerMBean, registerRequestHandler, removeRequestHandlerForKey, requestHandlerForKey, requestHandlingLock, resourceManager, resourceRequestHandlerKey, responseForComponentWithName, responseForDirectActionWithNameAndClass, restoreSessionWithID, run, saveSessionForContext, servletConnectURL, sessionIdKey, sessionStore, sessionStoreClassName, sessionTimeOut, setAdaptor, setAdditionalAdaptors, setAllowsConcurrentRequestHandling, setApplicationBaseURL, setAutoOpenClientApplication, setAutoOpenInBrowser, setCachingEnabled, setCGIAdaptorURL, setComponentRequestHandlerKey, setContextClassName, setDefaultRequestHandler, setDefaultUndoStackLimit, setDirectActionRequestHandlerKey, setDirectConnectEnabled, setFrameworksBaseURL, setIncludeCommentsInResponses, setJMXDomain, setListenQueueSize, setLoadFrameworks, setMaxSocketIdleTime, setMinimumActiveSessionsCount, setMonitorEnabled, setMonitorHost, setNamespaceProvider, setPageCacheSize, setPageFragmentCacheSize, setPageRefreshOnBacktrackEnabled, setPermanentPageCacheSize, setPort, setPrintsHTMLParserDiagnostics, setProjectSearchPath, setRecordingPath, setResourceManager, setResourceRequestHandlerKey, setSessionStore, setSessionStoreClassName, setSessionTimeOut, setSMTPHost, setSocketCacheSize, setSocketMonitorSleepTime, setStatisticsStore, setTimeOut, setWebServiceRequestHandlerKey, setWorkerThreadCount, setWorkerThreadCountMax, setWorkerThreadCountMin, sharedEditingContext, shouldRestoreSessionOnCleanEntry, sleep, SMTPHost, socketCacheSize, socketMonitorSleepTime, statistics, statisticsStore, streamActionRequestHandlerKey, takeValueForKey, takeValueForKeyPath, terminate, terminateAfterTimeInterval, timeOut, toString, unableToSetNullForKey, unlock, unregisterMBean, validationFailedWithException, valueForKey, valueForKeyPath, wasMainInvoked, webserverConnectURL, webServiceRequestHandlerKey, workerThreadCount, workerThreadCountMax, workerThreadCountMin
public static final String KEY_AJAX_SUBMIT_BUTTON
public static final String KEY_PARTIAL_FORM_SENDER_ID
public static final String KEY_UPDATE_CONTAINER_ID
public static final String KEY_REPLACED
public void setResponseDelegate(ERXAjaxApplication.ERXAjaxResponseDelegate responseDelegate)
responseDelegate
- public static boolean shouldIgnoreResults(WORequest request, WOContext context, WOActionResults results)
public void takeValuesFromRequest(WORequest request, WOContext context)
takeValuesFromRequest
in class WOApplication
request
- the current requestcontext
- the contextWOApplication.takeValuesFromRequest(com.webobjects.appserver.WORequest, com.webobjects.appserver.WOContext)
public WOActionResults invokeAction(WORequest request, WOContext context)
invokeAction
in class WOApplication
request
- context
- public static void setForceStorePage(WOMessage message)
message
- WOMessagepublic static boolean forceStorePage(WOMessage message)
message
- WOMessagepublic static boolean shouldNotStorePage(WOMessage message)
message
- public static void cleanUpHeaders(WOResponse response)
response
- public static boolean shouldNotStorePage(WOContext context)
context
- public static void enableShouldNotStorePage()
public static boolean isAjaxRequest(WORequest request)
request
- public static String partialFormSenderID(WORequest request)
request
- public static String ajaxSubmitButtonName(WORequest request)
request
- public static boolean isAjaxSubmit(WORequest request)
request
- public static boolean isAjaxReplacement(WORequest request)
request
- - WORequestpublic static boolean isAjaxUpdate(WORequest request)
request
- - WORequestCopyright © 2002 – 2024 Project Wonder.