Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The directory field supports the following attributes for the <spec> elementthe <spec> element:

Name

Required

Description

Value

mustExist

no

Specifies whether or not the selected path must be an existing directory.

true, false default: true

create

no

Specifies whether or not the selected directory should be created if it does not exist. (requires mustExist=false)

true, false default: false

allowEmptyValuenoIf set true, no file has to be selected and the box can be left empty.true, false default: false

fileext

noFile extension to be forced. This will be used as mask in the FileChooserDialog. 
fileextdescnoThe description of the file extension. This will be used in the file extension mask in the FileChooserDialog.
There can be used a translation key, it is translated along with the UserInputPanel translations separately.
 

 

The directory supports a <description> element that can be used to provide information about the purpose of the directory field.
See Fields documentation for more detail.

...