class %ZEN.Component.fileUpload
extends control
File upload control.
This is a simple wrapper around the HTML input=file control.
parameter DEFAULTCONTROLCLASS = "fileUpload";
The default css class used for the main element within this control. This
is overridden by subclasses.
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.
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.