|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.WOAction
com.webobjects.appserver.WODirectAction
er.extensions.appserver.ERXDirectAction
public class ERXDirectAction
Basic collector for direct action additions. All of the actions are password protected, you need to give an argument "pw" that matches the corresponding system property for the action.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException |
Field Summary | |
---|---|
static org.apache.log4j.Logger |
log
logging support |
Fields inherited from class com.webobjects.appserver.WODirectAction |
---|
actionText |
Fields inherited from class com.webobjects.appserver.WOAction |
---|
_actionClasses, _context |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
---|
_CLASS |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
NullValue |
Fields inherited from interface com.webobjects.foundation.NSValidation |
---|
_CLASS |
Constructor Summary | |
---|---|
ERXDirectAction(com.webobjects.appserver.WORequest r)
Public constructor |
Method Summary | ||
---|---|---|
ERXBrowser |
browser()
Returns the browser object representing the web browser's "user-agent" string. |
|
protected boolean |
canPerformActionWithPasswordKey(java.lang.String passwordKey)
Checks if the action can be executed. |
|
com.webobjects.appserver.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");
|
|
com.webobjects.appserver.WOComponent |
databaseConsoleAction()
Action used for accessing the database console Synopsis: pw=aPassword Form Values: pw password to be checked against the system property er.extensions.ERXRemoteShellPassword . |
|
com.webobjects.appserver.WOActionResults |
dumpCreatedKeysAction()
|
|
com.webobjects.appserver.WOActionResults |
editLocalizedFilesAction()
Opens the localizer edit page if the app is in development mode. |
|
com.webobjects.appserver.WOActionResults |
emptyAction()
Returns an empty response. |
|
com.webobjects.appserver.WOComponent |
eoAdaptorDebuggingAction()
Action used for turning EOAdaptorDebugging output on or off. Synopsis: pw=aPassword Form Values: pw password to be checked against the system property er.extensions.ERXEOAdaptorDebuggingPassword .debug flag signaling whether to turn EOAdaptorDebugging on or off (defaults to off). |
|
com.webobjects.appserver.WOActionResults |
eventsAction()
Direct access to WOEventDisplay by giving over the password in the "pw" parameter. |
|
com.webobjects.appserver.WOActionResults |
eventsSetupAction()
Direct access to WOEventDisplay by giving over the password in the "pw" parameter and turning on all events. |
|
com.webobjects.appserver.WOActionResults |
flushComponentCacheAction()
Flushes the component cache to allow reloading components even when WOCachingEnabled=true. |
|
com.webobjects.appserver.WOComponent |
forceGCAction()
Action used for forcing garbage collection. |
|
com.webobjects.appserver.WOComponent |
log4jAction()
Action used for changing logging settings at runtime. |
|
com.webobjects.appserver.WOActionResults |
logoutAction()
|
|
|
pageWithName(java.lang.Class<T> componentClass)
|
|
com.webobjects.appserver.WOActionResults |
performActionNamed(java.lang.String actionName)
|
|
com.webobjects.appserver.WOComponent |
remoteShellAction()
Action used for sending shell commands to the server and receive the result Synopsis: pw=aPassword Form Values: pw password to be checked against the system property er.extensions.ERXRemoteShellPassword . |
|
com.webobjects.appserver.WOActionResults |
resetStatsAction()
Direct access to reset the stats by giving over the password in the "pw" parameter. |
|
com.webobjects.appserver.WOComponent |
showOpenEditingContextLockTracesAction()
Returns a list of the traces of open editing context locks. |
|
com.webobjects.appserver.WOActionResults |
statsAction()
Direct access to WOStats by giving over the password in the "pw" parameter. |
|
com.webobjects.appserver.WOActionResults |
systemPropertyAction()
Sets a System property. |
|
com.webobjects.appserver.WOComponent |
testAction()
Action used for junit tests. |
Methods inherited from class com.webobjects.appserver.WODirectAction |
---|
_componentAction, defaultAction, getSessionIDForRequest, takeFormValueArraysForKeyArray, takeFormValuesForKeyArray |
Methods inherited from class com.webobjects.appserver.WOAction |
---|
_isActionOnClass, _methodForAction, _preloadAllActionsOnClass, canAccessFieldsDirectly, context, debugString, existingSession, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, initializeRequestSessionIDInContext, languages, logString, pageWithName, request, session, setLanguages, takeValueForKey, takeValueForKeyPath, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
---|
handleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKey |
Methods inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
takeValueForKeyPath, valueForKeyPath |
Methods inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
takeValueForKey, valueForKey |
Methods inherited from interface com.webobjects.foundation.NSValidation |
---|
validateTakeValueForKeyPath, validateValueForKey |
Field Detail |
---|
public static final org.apache.log4j.Logger log
Constructor Detail |
---|
public ERXDirectAction(com.webobjects.appserver.WORequest r)
Method Detail |
---|
protected boolean canPerformActionWithPasswordKey(java.lang.String passwordKey)
passwordKey
- public com.webobjects.appserver.WOComponent testAction()
er.extensions.ERXJUnitPassword
.
case class name for unit test to be performed.
ERXWOTestInterface
with the results after performing the given test.public com.webobjects.appserver.WOActionResults flushComponentCacheAction()
public com.webobjects.appserver.WOActionResults statsAction()
public com.webobjects.appserver.WOActionResults resetStatsAction()
public com.webobjects.appserver.WOActionResults eventsAction()
public com.webobjects.appserver.WOActionResults eventsSetupAction()
public com.webobjects.appserver.WOComponent eoAdaptorDebuggingAction()
er.extensions.ERXEOAdaptorDebuggingPassword
.
public com.webobjects.appserver.WOComponent log4jAction()
er.extensions.ERXLog4JPassword
.
ERXLog4JConfiguration
for modifying current logging settings.public com.webobjects.appserver.WOComponent remoteShellAction()
er.extensions.ERXRemoteShellPassword
.
ERXLog4JConfiguration
for modifying current logging settings.public com.webobjects.appserver.WOComponent databaseConsoleAction()
er.extensions.ERXRemoteShellPassword
.
ERXLog4JConfiguration
for modifying current logging settings.public com.webobjects.appserver.WOComponent forceGCAction()
er.extensions.ERXGCPassword
.
public com.webobjects.appserver.WOComponent showOpenEditingContextLockTracesAction()
public com.webobjects.appserver.WOActionResults logoutAction()
public ERXBrowser browser()
public com.webobjects.appserver.WOActionResults performActionNamed(java.lang.String actionName)
performActionNamed
in class com.webobjects.appserver.WODirectAction
public com.webobjects.appserver.WOActionResults systemPropertyAction()
public com.webobjects.appserver.WOActionResults editLocalizedFilesAction()
public com.webobjects.appserver.WOActionResults dumpCreatedKeysAction()
public com.webobjects.appserver.WOActionResults emptyAction()
public com.webobjects.appserver.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 com.webobjects.appserver.WOComponent> T pageWithName(java.lang.Class<T> componentClass)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |