Programming Features
Developer
Deployment
Client Compatibility
Prior to 5.1, the syntax write&File(null/String,....) would write the file serverside, in 5.1 and beyond it will trigger the streaming behavior to the browser as described above. |
When during method execution the writeXxxFile function is called multiple times, this will result in only streaming the file specified in the last call to the browser. All previous calls to the writeXxxFile function will be discarded. |
When the callback method parameter is specified when operating in a Smart Client, the File Open Dialog will still show immediately and halt execution of the method until closed. When the method finishes, the callback method will be called as well. |
As mentioned above, in the Web Client the media upload dialog will be shown to the user after the method that called the showFileOpenDialog function has finished and when the user has selected the file, the callback method is called with the selected file as a argument of type JSFile. |
As browsers do not allow to show the File Select Dialog through scripting, but only by the user clicking the browse button on a input field of type file, the media upload dialog is mandatory. |