[
https://issues.apache.org/jira/browse/WICKET-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625786#action_12625786
]
Federico Fanton commented on WICKET-1798:
-----------------------------------------
After a few tests, it looks like installing "Cumulative security update for
Internet Explorer" KB953838 fixes the problem
(http://support.microsoft.com/kb/953838)
> "Document is null or not an object" after PDF from ModalWindow with IE7
> -----------------------------------------------------------------------
>
> Key: WICKET-1798
> URL: https://issues.apache.org/jira/browse/WICKET-1798
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.4
> Environment: Windows XPsp2, IE7 and Acrobat 8.1.2 (with "show PDF in
> browser" disabled)
> Reporter: Federico Fanton
> Attachments: testpdf_quickstart.tgz
>
>
> I'm trying to have the browser open PDFs automatically (no "open or save"
> dialogs) and in a new window (either a browser window or the standalone PDF
> viewer).
> So far I've been using this method:
> IResourceStream stream = new ByteArrayResource("application/pdf",
> pdf.toByteArray()).getResourceStream();
> RequestCycle.get().setRequestTarget(new ResourceStreamRequestTarget(stream));
> Everything works fine with Firefox 2 (on Ubuntu and on XPsp2), and even on
> IE7 most of the times, but if I try to open a PDF from a submit Button inside
> a ModalWindow, IE7 starts throwing "document is null or not an object" errors
> and basically Javascript stops working..
> According to Companion.JS the stacktrace for the error is (most recent call
> first):
> wicket-ajax.js:51
> wicket-event.js:110
> wicket-event.js:29
> Original discussion:
> http://www.nabble.com/%22Document-is-null-or-not-an-object%22-after-PDF-from-ModalWindow-td19066121.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.