File Open Dialog: WidgetSet mode and Cross Origin requests
I have a Wt widget which is running on port 8080. I embedded it as a widget set in a page as shown below. The widget display and works perfectly fine (thank you!).
The bat file to start wt application looks like this:
REM Starts Wt server
\"~p0\MyWtApp.exe\" ---docroot . ---http-port 8080 ---http-addr 0.0.0.0* ---config Config/wt_config.xml
The problem is I use FileUploadDialog to let users upload local file(s) and I get following error in widget set mode when the dialog is invoked.
It works fine when Wt application is loaded in normal mode (ie; as a full pae application).
How can I fix it?
Thanks in advance!