I tried to set the image URL file from the within the script but until now still fail.
I set the upload To Directory to ./ebasetest/uploadedFiles
and from within the script I do like this:
Code: Select all
form.uploadFileFromBrowser();
controls.imgApplicantPhoto.imageURL = system.variables.$FILE_NAME.value;
How can I solve this problem?
edit:
I have tried this too, with the same result (image not shown):
Code: Select all
controls.imgApplicantPhoto.setImageURL(system.variables.$FILE_NAME.value);
controls.imgApplicantPhoto.refresh();