public abstract class FileUploader
extends com.webobjects.appserver.WOComponent
| Name | Description |
|---|---|
onChange | onChange |
onSubmit | onSubmit |
onComplete | onComplete |
allowedExtensions | E.g: "['jpg', 'jpeg', 'png', 'gif']" |
| Name | Description |
|---|---|
useUnobtrusively For | Unobtrusive Javascript programming. Default it is ON. |
WOFileUpload.sizeLimit Max | file upload size permitted |
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileUploader.Bindings |
static interface |
FileUploader.FormKeys |
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Eventcom.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utilitycom.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.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessorcom.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException_Extension, _IsEventLoggingEnabled, _keyAssociations| Constructor and Description |
|---|
FileUploader(com.webobjects.appserver.WOContext aContext) |
| Modifier and Type | Method and Description |
|---|---|
protected NSArray<String> |
_options() |
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context) |
String |
id() |
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context) |
static Integer |
maxFileSize() |
String |
options() |
String |
script() |
protected void |
setData(com.webobjects.foundation.NSData data) |
protected void |
setFilePath(String aPath) |
boolean |
synchronizesVariablesWithBindings() |
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context) |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class com.webobjects.appserver.WOComponentpublic String id()
public String script()
public static Integer maxFileSize()
public String options()
protected void setFilePath(String aPath)
protected void setData(com.webobjects.foundation.NSData data)
public void appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
appendToResponse in class com.webobjects.appserver.WOComponentpublic com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
invokeAction in class com.webobjects.appserver.WOComponentpublic void takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
takeValuesFromRequest in class com.webobjects.appserver.WOComponentCopyright © 2002 – 2020 Project Wonder.