Skip to main content

%ZEN.Component.fileUpload

deprecated class %ZEN.Component.fileUpload extends %ZEN.Component.control

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

Property Inventory

Method Inventory

Parameters

parameter DEFAULTCONTROLCLASS = fileUpload;
Inherited description: 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 methods: acceptDisplayToLogical(), acceptGet(), acceptIsValid(), acceptLogicalToDisplay(), acceptLogicalToOdbc(), acceptNormalize(), acceptSet()
property maxlength as %ZEN.Datatype.integer (MINVAL = 0);
Maximum number of characters allowed within the control.
Property methods: maxlengthDisplayToLogical(), maxlengthGet(), maxlengthIsValid(), maxlengthLogicalToDisplay(), maxlengthLogicalToOdbc(), maxlengthNormalize(), maxlengthSet()
property multiple as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Allow multiple fileuploads at once. Default is false. Requires HTML5 to work.
Property methods: multipleDisplayToLogical(), multipleGet(), multipleIsValid(), multipleLogicalToDisplay(), multipleLogicalToOdbc(), multipleLogicalToXSD(), multipleNormalize(), multipleSet(), multipleXSDToLogical()
property size as %ZEN.Datatype.integer (MINVAL = 0);
Size of the input area for this control.
Property methods: sizeDisplayToLogical(), sizeGet(), sizeIsValid(), sizeLogicalToDisplay(), sizeLogicalToOdbc(), sizeNormalize(), sizeSet()

Methods

method %DrawHTML()
Inherited description: 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.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab