Primefaces PDF display issue in IE 9 - primefaces

I'm using Primefaces dialog to display pdf file through tag which invokes a servlet to write pdf stream.
The dialog has a minimizable option true,when I click minimize and if I maximize the dialog pdf content is getting lost in IE9
I'm unable to figure out the issue,Can any one please share your valuable suggestions.

IE is not a web-kit browser, some things work but some components behave crazy in IE. You can use firefox or chrome, all time updated browsers.

Related

Excel page does not load in Google Chrome

I am using Flash Builder 4.0 to develop my application. I have a button whereby I click to open a CFM page which generates an Excel sheet.
The code when I click the button in Flex is as follows:
openXlsFile(e.target.label, "myexcelexport.cfm", 'TEST');
This line of code works fine on Internet Explorer and Mozilla. But it does not work on Google Chrome. Any idea form experts why this is so? Is there any setting that I am missing in Google chrome or something?
There's currently an issue Chrome is having with its built in Flash (pepperFlash). I'd make sure that's not the cause of your issue.
Details can be found here:
https://code.google.com/p/chromium/issues/detail?id=277210
This issue has been fixed in Google Chrome version 30.0.1599.101

open pdf in iphone webapp

I am trying to open a pdf from my JQM webapp. I have tried iframes/embed/object, and none of those work on an iphone like they do on a desktop browser (scrolling, zooming, etc). I have settled with simply opening the pdf via a link Link. This works fine in the standard browser because the user can simply use the browser back button to navigate back to my app.
The issue that I am having, is that when a user saves the page to thier home screen and opens it using the chromeless safari browser, they no longer have the browser back button. I have tried adding target="_blank" to the link, but apparently JQM hijacks the link and prevents opening in a new page, and I have been unable to get the hacks to work.
I have also tried pdf.js, but I can't seem to even get that to work as my javascript knowledge is fairly limited, and the examples are pretty advanced. The only tutorial that I found used an old version which I couldn't get to work.
Are there any ways to bypass the JQM in openning a link in a new window (which would in turn open in the mobile safari rather than my chromeless web app), or are there any other suggestions for how to open a pdf from a webapp?
Just disable the default jQuery Mobile behaviour, by specifying data-ajax=false.
For example:
Link
See http://jquerymobile.com/demos/1.2.0/docs/pages/page-links.html
For my webApps I used https://docs.google.com/viewer to embed the pdf into my interface.
So, when I navigate the webApp by home screen icon, the app doesn't close when I open the pdf.
I met the same question: open pdf in webapp with html5.
I've tried several solutions: iframe、embed、pdf.js, but none of them is the best solution.
tips: iOS 9.x upper, open pdf with iframe only show the first page of the pdf file, and there will be a <img /> tag in the iframe body when you debug.
util now I still have this troublesome problem, anyone has solution please write your experience here.
Thank you.

in html, how to open a new window in IE even when using other browser?

<a href="http://192.168.1.1"
onclick="Popup=window.open('http://192.168.1.1','Popup','toolbar=no,location=no,directories=
no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=300,left=300,top=23');
return false;" >
<button type="button">button</button></a>
If i'm browser this page in firefox, it pop up a new window in firefox when i click button.
if in chrome, then it pop up in chrome.
What if i want the pop up window always open in IE even when im browser this page in other browser?
Thanks!
Browsers cannot start other programs except with a plugin installed.
You can't do this. It breaks the sandbox model -- javascript in chrome, firefox, etc., executes in a security sandbox and there are lots of things it can't do. It can't save files to your hard disk (malicious code could overwrite your OS) -- it can't open arbitrary executables or start processes (malicious code could run a virus/malware). Javascript doesn't have the ability to do this.
As mentioned, browsers cannot start other programs without plugins or similar functionality.
I think your best bet is to detect IE on the other page. I don't believe there's a way to force IE. You could provide the link for them to easily copy and paste into IE, such as in a text box that is fully selected when they click in it.

a href issue in chrome

i have a simple web page with a list of links linking to specific pages in a PDF file. This works fine in Firefox, IE 6,7,8,9 but not in chrome?
The code is very simple and works in everything else. In chrome however it just opens the PDf on the first page.
Help please!
Adobe Reader supports #page=X as a postfix to the URL in order to jump to a specific page in a PDF document. Chrome's PDF reader doesn't support this at the moment.
This is a known bug that has been filed as http://crbug.com/65851; please star that bug in order to follow the progress.

is there anyway to force a link to open up in IE, even if not the default browser

we have a website with links to a sharepoint. These features in sharepoint only work in IE so i dont want to open up firefox or chrome if that is the default browser. Is there anyway to have a
My Link
force open up in internet explorer ?
You can use javascript to inject the link in your HTML code if the client is IE, and maybe show a warning message if the browser isn't IE. Anyway you can't tell any browser to open a link using another browser.
No, definitely not.
For Firefox users, the best thing that comes to mind is to have them install the IE tab. It allows the opening of pages inside Firefox but using the IE engine - but also requires user action.
If this is run in a windows environment, you could use a PHP script to open Internet Explorer through PHPs support for COM objects.
If you are interested I can provide the script to do this.