Products Downloads


French version


 

Assigns the object a class containing various presentation characteristics.

Adelia type

ALPHA(256).

Accessibility

Read/Write.

Conditions for use

None.

Default value

None.

 

 

Allows the object to be placed in focus. Objects placed in focus will respond to the user's keyboard and mouse actions.

Adelia type

BOOL.

Accessibility

Read/Write.

Conditions for use

None.

Default value

*TRUE.

 

 

Error code returned when a file is uploaded.

Adelia type

NUM_BIN_2.

Accessibility

Read.

Conditions for use

None.

Default value

0

 

 

0

upload completed successfully,

1

the query was not coded as a "multipart/form-data" query (specified in the <form> HTML tag during the layout design process),

2

the query exceeds the maximum permitted size,

3

unknown query size,

4

an error occurred while processing the query,

5

the name of the uploaded file either does not exist or its size has not been defined.

 

 

Text entered by the user to specify which file to upload.

Adelia type

ALPHA(260).

Accessibility

Read.

Conditions for use

None.

Default value

None.

 

 

Name of the file (on the Web application server) that contains the uploaded file. This property is the same as the <adelia :upload> tag's uploadfile attribute. This property lets you rename the uploaded file. If this field and the uploadfile attribute are left blank, the name of the file selected by the user is kept.

Adelia type

ALPHA(260).

Accessibility

Read/Write.

Conditions for use

This property can only be used if the object's Adelia type is ALPHA.

Default value

None.

 

 

Determines whether or not the field must be specified.

Adelia type

BOOL.

Accessibility

Read/Write.

Conditions for use

None.

Default value

*FALSE.

 

 

Path to the transferred file's destination directory (on the Web application server). This property is the same as the <adelia :upload> tag's uploaddir attribute.

For reasons of compatibility between operating systems, it is important to use the / character as the directory separator (not \).

The specified directory can be either:

- Relative (beginning with . or ..). In this case, the directory is specified relative to the root directory of your Web application (e.g. c:\Tomcat\webapps\MyWebApp),

- Absolute. In this case, it points to a directory in the Web application server's file system.

The directory is created if it does not already exist.

If this property and the adeliadir attribute are not specified, the destination directory will be the Web application's root directory.

Adelia type

ALPHA(260).

Accessibility

Read/Write.

Conditions for use

This property can only be used if the object's Adelia type is ALPHA.

Default value

None.

 

 

Permitted file extension types for file upload operations.

A file extension can be defined:

- Either by its MIME type (e.g. application/pdf),

- or by its literal name preceded by "*." (e.g. *.pdf).

It is possible to specify multiple extensions, provided they are separated by a comma (e.g. application/pdf,*.txt).

If this property has no value, all file extensions are permitted (equivalent to *.*).

The extension control is performed by the browser when an :: ADELIA_EVT_UPL Adelia event is executed.

Adelia type

ALPHA(260).

Accessibility

Read/Write.

Conditions for use

None.

Default value

None.

 

Click here to see the possible MIME type values and their related extensions.

 

Contains the result of the file upload. If the Adelia type is ALPHA, this property contains the full path to the uploaded file (on the Web application server). If the type is IMAGE, this property contains the uploaded file's content, in the form of a binary field.

Adelia type

ALPHA(n) / BLOB.

Accessibility

Read.

Conditions for use

None.

Default value

Default value for the Adelia type.

 

 

Visibility of the object.

Adelia type

BOOL.

Accessibility

Read/Write.

Conditions for use

None.

Default value

*TRUE.

 

 

 

 

 

↑ Top of page