Home
Analytics
BIRT frameset viewer usage in an embedded iframe tag
canutri
<p>Hi everyone,</p>
<p> </p>
<p>I'm using BIRT open source v4.2.2 deployed as osgi on Websphere v6.1</p>
<p> </p>
<p>In my appliation, I have basic web page and I would like to display a BIRT report from a differenct context on the save app server in an iframe tag. When run in its own browser tab, the report runs fine. However, when embedded in an iframe tag, the report hangs with the processing dialog.</p>
<p> </p>
<p>This appears to only occur with IE (v9, v10 & v11). Firefox and Chrome seem to be working fine. Unfortunately, I need this to work in IE.</p>
<p> </p>
<p>I've tried changing IE's compatibility settings but that doesn't have any effect.</p>
<p> </p>
<p>I know I could open a new tab, but I would realy like this to work so I can display some application content with the results of a BIRT report on the same page.</p>
<p> </p>
<p>I've attached a simple html page the uses the cascade.rptdesign example.</p>
<p> </p>
<p>Thank you,</p>
<p> </p>
<p>Daron</p>
Find more posts tagged with
Comments
mwilliams
Did you ever find a solution for this?
canutri
<p>No, not yet.</p>
<p> </p>
<p>Would it be helpfult to include a simple example?</p>
mwilliams
I don't have websphere to test on, but I'll try on another app server. A sample showing everything you're doing would be great as a place to start.
canutri
<p>Hi Michael,</p>
<p> </p>
<p>Sorry, I've been on vacation.</p>
<p>Yes, I will provide an example.</p>
<p> </p>
<p>Thank you,</p>
<p> </p>
<p>Daron</p>
mwilliams
Great! Looking forward to receiving it so I can run some tests.
canutri
<p>Here's the examples. The report url's found in the iframe's src property will need to be updated to correspond to your BIRT report previewer port and project location. I've included 2 examples to demonstrate the slightly different effect that occurs with reports with and without parameters.</p>
<p> </p>
<p>To restate the issue, IE 10 & 11 do not load report; whereas, Chrome and Firefox work fine. Unfortunately, I need to use IE 10 for our enterprise environment.</p>
mwilliams
I see the same thing. In my IE11, I just see it continuing to try to load the report. Have you let it sit and process to see if it eventually shows?<br><br>If you don't need the actual viewer toolbars and such, you could use the preview servlet instead of frameset or run. This will show up in IE til the issue with the viewer in IE is figured out.
mwilliams
Scratch that. That doesn't work for the cascade.html because of the cascading parameter.<br><br>You should definitely file a bug for this in the bugzilla at eclipse.org/birt/community/<br><br>Maybe someone will get back to you with a change to make. I'll take a look around to see if I can figure out what's breaking this in IE. I'll let you know if I find something.
canutri
<p>I filed a bug on this issue as you suggested.</p>
<p>Hopefully I'll have a resolution soon.</p>
mwilliams
I had found somewhere that adding localhost to trusted sites in IE fixed the issue, but it's not working for me. You might give it a try though.
mwilliams
Adding localhost to compatibility view works.
canutri
<p>Hi Michael,</p>
<p> </p>
<p>Thanks for locating this information regarding localhost. I must admit that I was mislead by the results I was seeing to think there was a much larger issue at play here. I changed the links to use reports deployed to the BIRT viewer on our WebSphere server and it works just fine. Wow, this sure did this hold up progress moving the project from Development to Q/A and Production.</p>
<p> </p>
<p>Daron</p>
mwilliams
I loaded the reports into tomcat to begin with and was still having the issue. That's why I didn't say anything about your calling them by the full path. So, everything is up and working properly, now?
canutri
<p>Yes. Thank you for the help.</p>
mwilliams
Great! Let us know whenever you have questions!