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.Event
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
_Extension, _IsEventLoggingEnabled, _keyAssociations
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_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, variableWithName
public FileUploader(WOContext aContext)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class WOComponent
public 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 WOComponent
public WOActionResults invokeAction(WORequest request, WOContext context)
invokeAction
in class WOComponent
public void takeValuesFromRequest(WORequest request, WOContext context)
takeValuesFromRequest
in class WOComponent
Copyright © 2002 – 2024 Project Wonder.