FileUploadField datasource/property

Hi,
just an idea: it would be nice to be able to set FileUploadField*'s *datasource and property fields from the IDE, when using it in standalone mode (not in fieldgroup)

Cheers
Gabor

Hi,

You can use FileUploadField.setDatasource(datasource, property) and FileUploadField.setMode(FileStoragePutMode.IMMEDIATE). It is already implemented in version 6.3.

This API also available from XML:


<upload datasource="userDs"
        property="image" 
        fileStoragePutMode="IMMEDIATE"/>

Hi Yuriy,

yeah thanks, that works, I had done that, I’ve just thought it would be more straightforward to be able to set it from IDE, like with other components…

Cheers
Gabor