Component FILEUPLOADASYNCHRONOUS

Attribute summary

Typically used attributes

All attributes are

General attributes are

Positioning

Used inside: BEANPROCESSING

Attribute details

actionListener

Binding to server side method that processes the events coming from this component.

#{methodBinding}Method binding

adapterbinding

Special binding to component adapter object instance on server side. The component adapter must be an instance of IComponentAdapterBinding. For some components (e.g. FIXGRID) there is an extended interface (e.g. IFIXGRIDComponentAdapterBinding).

#{tobedefined}Binding to IComponentAdapter instance

asynchronousuploadurl

attributemacro

Name of macro that is used for generating certain attributes of this component. Please pay attention: the value of this attribute is read one time for each control and cannot be changed afterwards.

comment

Comment that can be asigned to any component. The comment is not operationally used.

Any textAny text

configinfo

Configuration information that is attached to this component. This information is not functionally used by CaptainCasa, but may be used for any application specific purpose.

fileextensions

Semicolon separated list of file extensions which is used as filter within the file selection dialog.

 Default - all files.
txtOnly files with extension .txt
jpg;png;gifOnly image files

imagereduction

Images (png,gif,jpg) can be reduced before being uploaded. This parameter defines the reduction. The definition is a semicolon separated string out of the width, the height and the quality of conversion.

400;300;90Reduced to 400x300, 90% Quality
600;400;85Reduced to 600x400, 85% Quality

infopopuptype

Type of popup that shows the user infos about the download/upload process.

modalModal
modelessModeless (default)

maxfilesize

Maximum number of bytes that the upload may have.

100000100.000 Bytes
500000500.000 Bytes

maxnumberoffiles

Maximum number of files that the download may have.

55 files
1010 files

maxsinglefilesize

Maximum number of bytes that a single file of the upload may have.

100000100.000 Bytes
500000500.000 Bytes

multiselect

Selection mode: by default exactly one item can be selected. You can allow multiple item selection by using this attribute. Multiple selections are done by the user using the ctrl- and shift-key of the keyboard while selecting with the mouse.

falseSingle item selection (default)
trueMultiple item selection

reference

Reference to an outside object that is the content behind the component. E.g. a field is representing a certain field of a database table: in this case you could define the value table;column. The reference plays a siginficant role within the attributemacro management.

refOne reference
ref1;ref2Two references
ref1;ref2;ref3Three references

rendered

Flag that indicated if this component is rendered at all. If set to false then the component is not rendered - there is no component data sent to the client.

trueComponent is rendered (default)
falseComponent is not rendered

stylevariant

In CaptainCasa you can define styles definitions for components. A style definition is a definition of a set of default attribute values that are applied to the component. In case you want to differenciate between different usage types of the component you can apply multiple styles - and use the stylevariant attribute to select between.

trigger

Trigger value: if the value changes then the component's activity is executed on client side. Use class Trigger on server side for implementations of this property.