Skip to main content



      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 07:54 Go to next message
Eclipse UserFriend
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 07:59 Go to previous messageGo to next message
Eclipse UserFriend
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 08:10 Go to previous messageGo to next message
Eclipse UserFriend
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 11:23 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 13:45:25 EDT 2025

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

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

Back to the top