Click or drag to resize
File

Displays a simple input file.

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

label

Creates a label tag next to the input tag.

labelposition

Where to place the label tag, "left" or "right"; default: left.

id

id attribute of the file input

name

the name of the file input; if omitted, will default to the id attribute

enabled

true or false; if false, the file input is grayed and the user cannot select a file

Child elements

None.

Parent elements

Element

Description

any xhtml or xsl tag

Styling information

The XHTML structure created by the acs:File is the following:

<input id="myid" type="file" name="myid"><label for="myid">My file</label>
Examples
<acs:File id="myid" label="My file"/>