RAP: Open File (pdf, xls,...) openUrlInBrowser [message #1695768] |
Tue, 19 May 2015 06:18 |
Rene Eigenheer Messages: 109 Registered: July 2009 |
Senior Member |
|
|
I try to open a generated file (in my case pdf) on a RAP client using ClientSyncJob.getCurrentSession().getDesktop().openUrlInBrowser(f.getAbsolutePath());
Using a desktop browser this works fine.
Using a mobile browser I always get a "download unsuccessfull". Starting to debug, I remarked that the mobile device sends the download request "?servicehandler=xxxx" twice, and the second request aborts as the requestid is no longer valid.
I could reproduce it with an android tablet, a android phone, a iphone and the android emulator.
It doesn't change anything whether I use (on the mobile the device) the /web or /mobile url.
Any hints?
-Rene
|
|
|
Powered by
FUDForum. Page generated in 0.03328 seconds