public class ERXDirectAction extends WODirectAction
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
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
actionText
_actionClasses, _context
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERXDirectAction(WORequest r) |
Modifier and Type | Method and Description |
---|---|
ERXBrowser |
browser()
Returns the browser object representing the web
browser's "user-agent" string.
|
protected boolean |
canPerformActionWithPasswordKey(String passwordKey)
Checks if the action can be executed.
|
WOActionResults |
closeHTTPSessionAction()
To use this, include this line in appendToResponse on any pages with uploads:
AjaxUtils.addScriptResourceInHead(context, response, "Ajax", "prototype.js");
AjaxUtils.addScriptResourceInHead(context, response, "Ajax", "SafariUploadHack.js");
|
WOActionResults |
databaseConsoleAction()
Action used for accessing the database console
|
WOActionResults |
dumpCreatedKeysAction()
Will dump all created keys of the current localizer via log4j and
returns an empty response.
|
WOActionResults |
editLocalizedFilesAction()
Opens the localizer edit page if the app is in development mode.
|
WOActionResults |
emptyAction()
Returns an empty response.
|
WOActionResults |
eoAdaptorDebuggingAction()
Action used for turning EOAdaptorDebugging output on or off.
|
WOActionResults |
eventsAction()
Direct access to WOEventDisplay by giving over the password in the "pw" parameter.
|
WOActionResults |
eventsSetupAction()
Direct access to WOEventDisplay by giving over the password in the "pw"
parameter and turning on all events.
|
WOActionResults |
flushComponentCacheAction()
Flushes the component cache to allow reloading components even when WOCachingEnabled=true.
|
protected WOResponse |
forbiddenResponse()
Creates a response object with HTTP status code 403.
|
WOActionResults |
forceGCAction()
Action used for forcing garbage collection.
|
WOActionResults |
log4jAction()
Action used for changing logging settings at runtime.
|
WOActionResults |
logoutAction()
Will terminate an existing session and redirect to the default action.
|
<T extends WOComponent> |
pageWithName(Class<T> componentClass) |
WOActionResults |
performActionNamed(String actionName) |
WOActionResults |
remoteShellAction()
Action used for sending shell commands to the server and receive the result
|
WOActionResults |
resetStatsAction()
Direct access to reset the stats by giving over the password in the "pw" parameter.
|
WOActionResults |
showOpenEditingContextLockTracesAction()
Returns a list of the traces of open editing context locks.
|
WOActionResults |
statsAction()
Direct access to WOStats by giving over the password in the "pw" parameter.
|
WOActionResults |
stopAction()
Terminates the application when in development.
|
WOActionResults |
systemPropertyAction()
Sets a System property.
|
WOActionResults |
testAction()
Action used for junit tests.
|
_componentAction, defaultAction, getSessionIDForRequest, takeFormValueArraysForKeyArray, takeFormValuesForKeyArray
_isActionOnClass, _methodForAction, _preloadAllActionsOnClass, canAccessFieldsDirectly, context, debugString, existingSession, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, initializeRequestSessionIDInContext, languages, logString, pageWithName, request, session, setLanguages, takeValueForKey, takeValueForKeyPath, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
handleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKey
takeValueForKeyPath, valueForKeyPath
takeValueForKey, valueForKey
validateTakeValueForKeyPath, validateValueForKey
public ERXDirectAction(WORequest r)
protected boolean canPerformActionWithPasswordKey(String passwordKey)
passwordKey
- the password to testtrue
if action is allowed to be invokedpublic WOActionResults testAction()
er.extensions.ERXJUnitPassword
.
case class name for unit test to be performed.ERXWOTestInterface
with the results after performing the given test.public WOActionResults flushComponentCacheAction()
public WOActionResults statsAction()
public WOActionResults resetStatsAction()
public WOActionResults eventsAction()
public WOActionResults eventsSetupAction()
public WOActionResults eoAdaptorDebuggingAction()
er.extensions.ERXEOAdaptorDebuggingPassword
.Note: this action must be invoked against a specific instance (the instance number must be in the request URL).
public WOActionResults log4jAction()
er.extensions.ERXLog4JPassword
.ERXLog4JConfiguration
for modifying current logging settings.public WOActionResults remoteShellAction()
er.extensions.ERXRemoteShellPassword
.ERXLog4JConfiguration
for modifying current logging settings.public WOActionResults databaseConsoleAction()
er.extensions.ERXRemoteShellPassword
.ERXLog4JConfiguration
for modifying current logging settings.public WOActionResults forceGCAction()
er.extensions.ERXGCPassword
.public WOActionResults showOpenEditingContextLockTracesAction()
public WOActionResults logoutAction()
public ERXBrowser browser()
public WOActionResults performActionNamed(String actionName)
performActionNamed
in class WODirectAction
public WOActionResults systemPropertyAction()
public WOActionResults editLocalizedFilesAction()
public WOActionResults dumpCreatedKeysAction()
public WOActionResults emptyAction()
public WOActionResults closeHTTPSessionAction()
AjaxUtils.addScriptResourceInHead(context, response, "Ajax", "prototype.js");
AjaxUtils.addScriptResourceInHead(context, response, "Ajax", "SafariUploadHack.js");
To be called before multi-form submits to get past Safari 3.2.1 and 4.x intermittent hang-ups when posting binary data. A nice succinct description and solution is posted here: http://blog.airbladesoftware.com/2007/8/17/note-to-self-prevent-uploads-hanging-in-safari The radar ticket is here: https://bugs.webkit.org/show_bug.cgi?id=5760
public <T extends WOComponent> T pageWithName(Class<T> componentClass)
public WOActionResults stopAction()
protected WOResponse forbiddenResponse()
Copyright © 2002 – 2024 Project Wonder.