public abstract class FileUploader extends 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 |
WOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._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.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
FileUploader(WOContext aContext) |
| Modifier and Type | Method and Description |
|---|---|
protected NSArray<String> |
_options() |
void |
appendToResponse(WOResponse response,
WOContext context) |
String |
id() |
WOActionResults |
invokeAction(WORequest request,
WOContext context) |
static Integer |
maxFileSize() |
String |
options() |
String |
script() |
protected void |
setData(NSData data) |
protected void |
setFilePath(String aPath) |
boolean |
synchronizesVariablesWithBindings() |
void |
takeValuesFromRequest(WORequest request,
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 FileUploader(WOContext aContext)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class WOComponentpublic String id()
public String script()
public static Integer maxFileSize()
public String options()
protected void setFilePath(String aPath)
protected void setData(NSData data)
public void appendToResponse(WOResponse response, WOContext context)
appendToResponse in class WOComponentpublic WOActionResults invokeAction(WORequest request, WOContext context)
invokeAction in class WOComponentpublic void takeValuesFromRequest(WORequest request, WOContext context)
takeValuesFromRequest in class WOComponentCopyright © 2002 – 2025 Project Wonder.