Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » RAP: Open File (pdf, xls,...) openUrlInBrowser
RAP: Open File (pdf, xls,...) openUrlInBrowser [message #1695768] Tue, 19 May 2015 06:18
Rene Eigenheer is currently offline Rene EigenheerFriend
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
Previous Topic:Deploying RAP product target
Next Topic:TableField rows ordering by the user
Goto Forum:
  


Current Time: Tue Mar 19 11:30:38 GMT 2024

Powered by FUDForum. Page generated in 0.02805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top