Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » embedded browser opens save dilaog instead of previewing images
embedded browser opens save dilaog instead of previewing images [message #511361] Mon, 01 February 2010 12:54 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
Sometimes, when setting the url of an embedded browser to a resource that can be previewed directly (pdf, images, text files), the browser behaves as expected and shows the resource directly, i.e. embeded in the area it occupies. But sometimes, the embedded browser will open the save dialog and the user is asked to save the file to disk.

How can I force to always show the resource directly/embedded?
Re: embedded browser opens save dilaog instead of previewing images [message #511362 is a reply to message #511361] Mon, 01 February 2010 12:59 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Erdal,

from where do the resources come from? Normally this happens if the MIME
type is not know to the browser and it tries to download the file.

Regards,
Ben

Erdal Karaca wrote:
> Sometimes, when setting the url of an embedded browser to a resource
> that can be previewed directly (pdf, images, text files), the browser
> behaves as expected and shows the resource directly, i.e. embeded in the
> area it occupies. But sometimes, the embedded browser will open the save
> dialog and the user is asked to save the file to disk.
>
> How can I force to always show the resource directly/embedded?


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: embedded browser opens save dilaog instead of previewing images [message #511368 is a reply to message #511362] Mon, 01 February 2010 13:10 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
That is what I thought of, first, but why would the browser show the resources and the next time open the save dialog...
Re: embedded browser opens save dilaog instead of previewing images [message #511464 is a reply to message #511368] Mon, 01 February 2010 16:23 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Erdal,

I can't say much why this only happens from time to time. Do the
resources come from the same host? How do you deliver the resources
(remote host or registered via equinox)? If you can reproduce it with a
small testcase, it would be much easier to track this down.

Regards,
Benny

Erdal Karaca wrote:
> That is what I thought of, first, but why would the browser show the
> resources and the next time open the save dialog...


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:JDT in RAP
Next Topic:Problem connecting to CVS for RAP demos team project set
Goto Forum:
  


Current Time: Sat Apr 20 04:14:08 GMT 2024

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

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

Back to the top