DocBook|Search
Class Reference
%ZEN.Component.fileUpload
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [Component] >  [fileUpload]
Private  Storage  

class %ZEN.Component.fileUpload extends control

File upload control.
This is a simple wrapper around the HTML input=file control.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 2


Summary

Properties
%condition %import %includeFiles %page
%resource accept align aux
clientType composite containerStyle controlClass
controlStyle dataBinding disabled dragEnabled
dropEnabled enclosingClass enclosingStyle error
height hidden hint hintClass
hintStyle id index invalid
invalidMessage label labelClass labelDisabledClass
labelStyle maxlength name onafterdrag
onbeforedrag onblur onchange onclick
ondblclick ondrag ondrop onfocus
onhide onkeydown onkeypress onkeyup
onmousedown onmouseout onmouseover onmouseup
onrefresh onshow onsubmit onupdate
onvalidate originalValue parent readOnly
required requiredMessage showLabel size
slice tabIndex title tuple
valign value visible width
window

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawComponentHTML %DrawHTML
%DrawJSStrings %EnclosingDivId %Eval %Extends
%ForceClientRender %GetEventHandlers %GetForm %GetParameter
%GetXMLName %IsA %IsModified %MakeId
%Name %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawEnclosingDiv %OnDrawObjectProperties
%OnObjectSynch %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveFromSaveSet %Self
%SerializeObject %SetDefaultValues %SetModified %ValidateObject
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler exposeComponent findElement
fireOnUpdateEvent focus formatValue getDisabled
getDragData getEnclosingDiv getForm getHidden
getHintElement getInvalidReason getLabelElement getProperty
getReadOnly getSettings getType getValue
invokeSuper isModified isOfType isValid
makeId normalizeValue onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onStartModalHandler onchangeHandler onloadHandler
onunloadHandler onupdateHandler refreshContents render
renderContents renderSVG select setDisabled
setHidden setOverlayMode setProperty setReadOnly
setValue startProgressBar stopProgressBar sysName
unformatValue validationHandler


Parameters

• parameter DEFAULTCONTROLCLASS = "fileUpload";
The default css class used for the main element within this control. This is overridden by subclasses.

Properties

• property accept as %ZEN.Datatype.csv;
Optional comma-separated list of MIME types that can be uploaded. This is used as the ACCEPT attribute for the HTML INPUT element used for this component.
• property maxlength as %ZEN.Datatype.integer(MINVAL=0);
Maximum number of characters allowed within the control.
• property size as %ZEN.Datatype.integer(MINVAL=0);
Size of the input area for this control.

Methods

• method %DrawHTML()
Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.