Page History
...
Goal
You want to add upload functionality to your application.
Note |
---|
Note that IE 9 is not able to handle multiple files, only single files. This is doing fine in IE 10+, Firefox and Chrome. |
...
Configurations
Please configure first the connections connection in aquima.properties file in the home folder . The structure of the property is as follows: connection.<name>.<medium>.<opt.path>
.first. Currently there are two flavors:
Memory
Code Block connection.connection1.memory
...
File system
Code Block connection.
...
connection1.filesystem.path=<your path>
Replace <your path> with the correct path. Note to use '/' in your path, e.g. C:/
...
Files/.
in Also check that your language properties file (e.g. messages_en-GB) contains the following lines:
Code Block |
---|
#fileupload fileupload.label.single=Add file... fileupload.label.multi=Add files... fileupload.description.filesize=Maximum file size is: {0} fileupload.description.extension=Allowed file extensions are: {0} fileupload.validation.extension=File type not allowed fileupload.validation.filesize=File is too large fileupload.status.succes=File(s) uploaded successfully fileupload.status.failed=Upload failed because the following file(s) do not meet all conditions: |
...
Overview
Content Tools