Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Using Table of Contents (TOC) causes entire Application to Shift
Using Table of Contents (TOC) causes entire Application to Shift [message #708382] Tue, 02 August 2011 18:10 Go to next message
Raishad is currently offline RaishadFriend
Messages: 77
Registered: July 2009
Member
Hi,

I'm using the BIRT 2.6.1 WebViewer in an application. The WebViewer is
surfaced in an iframe. When a user clicks on an entry in the Table of
Contents on a report, the entire page is repositioned with everything
shifted left and up.

I've attached 2 screenshots that shows the before and after of clicking
on an entry in the Table of Contents.

Any help or advice would be appreciated

Thanks
  • Attachment: after.png
    (Size: 68.70KB, Downloaded 253 times)
  • Attachment: before.png
    (Size: 68.55KB, Downloaded 256 times)
Re: Using Table of Contents (TOC) causes entire Application to Shift [message #708446 is a reply to message #708382] Tue, 02 August 2011 20:10 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

This looks like the page containing the iframe is shifting. What does
the code look like?

Jason

On 8/2/2011 2:10 PM, Raishad Maharaj wrote:
> Hi,
>
> I'm using the BIRT 2.6.1 WebViewer in an application. The WebViewer is
> surfaced in an iframe. When a user clicks on an entry in the Table of
> Contents on a report, the entire page is repositioned with everything
> shifted left and up.
>
> I've attached 2 screenshots that shows the before and after of clicking
> on an entry in the Table of Contents.
>
> Any help or advice would be appreciated
>
> Thanks
Re: Using Table of Contents (TOC) causes entire Application to Shift [message #714526 is a reply to message #708446] Wed, 10 August 2011 17:31 Go to previous messageGo to next message
Raishad is currently offline RaishadFriend
Messages: 77
Registered: July 2009
Member
The full html is too big to attach, it's located here
http://dl.dropbox.com/u/104815/iframe.html
Overall, it's a pretty complicated framework

We're surfacing BIRT in an iframe

<IFRAME style="MARGIN: 2px; WIDTH: 100%; HEIGHT: 600px" id=$wjgp5v
class="epnyReadOnly epnyIFrame" onfocus="return
gEpnyTop.eFire(14,this,event)" tabIndex=1
src="http://usdadrmbase.infor.com:8280/scereports/frameset?__report=report/Item_List.rptdesign&amp;__showtitle=false&amp;p_DATABASE=SCPRD&amp;p_SCHEMA=WMWHSE1&amp;p_conn=SCPRD_wmwhse1&amp;p_CONN=BIC_REPORT&amp;p_uid=admin&amp;outputLocale=en&amp;p_locale=en&amp;__locale=en_US&amp;__offsetMin=0&amp;__timezone=America/Chicago&amp;_id=010D2CFA8B4F9901F827F1576EE7F2DB&amp;dbtype=MSS"
frameBorder=1 name=$wjgp5v eCSId="$wjgp5v" epnyValue=""></IFRAME>

We also use JFreeCharts for some charts, and we're able to have the user
click on the chart without causing this issue where the whole page shifts.


On 8/2/11 3:10 PM, Jason Weathersby wrote:
> This looks like the page containing the iframe is shifting. What does
> the code look like?
>
> Jason
>
> On 8/2/2011 2:10 PM, Raishad Maharaj wrote:
>> Hi,
>>
>> I'm using the BIRT 2.6.1 WebViewer in an application. The WebViewer is
>> surfaced in an iframe. When a user clicks on an entry in the Table of
>> Contents on a report, the entire page is repositioned with everything
>> shifted left and up.
>>
>> I've attached 2 screenshots that shows the before and after of clicking
>> on an entry in the Table of Contents.
>>
>> Any help or advice would be appreciated
>>
>> Thanks
>
Re: Using Table of Contents (TOC) causes entire Application to Shift [message #714533 is a reply to message #714526] Wed, 10 August 2011 17:52 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Any chance you could try the viewer tag instead of the iFrame?
http://www.eclipse.org/birt/phoenix/deploy/viewerUsageMain.php#tags

Also if you could reproduce the issue with a standard html page so we
can test it, that would be good.

Jason

On 8/10/2011 1:31 PM, Raishad Maharaj wrote:
> The full html is too big to attach, it's located here
> http://dl.dropbox.com/u/104815/iframe.html
> Overall, it's a pretty complicated framework
>
> We're surfacing BIRT in an iframe
>
> <IFRAME style="MARGIN: 2px; WIDTH: 100%; HEIGHT: 600px" id=$wjgp5v
> class="epnyReadOnly epnyIFrame" onfocus="return
> gEpnyTop.eFire(14,this,event)" tabIndex=1
> src="http://usdadrmbase.infor.com:8280/scereports/frameset?__report=report/Item_List.rptdesign&amp;__showtitle=false&amp;p_DATABASE=SCPRD&amp;p_SCHEMA=WMWHSE1&amp;p_conn=SCPRD_wmwhse1&amp;p_CONN=BIC_REPORT&amp;p_uid=admin&amp;outputLocale=en&amp;p_locale=en&amp;__locale=en_US&amp;__offsetMin=0&amp;__timezone=America/Chicago&amp;_id=010D2CFA8B4F9901F827F1576EE7F2DB&amp;dbtype=MSS"
> frameBorder=1 name=$wjgp5v eCSId="$wjgp5v" epnyValue=""></IFRAME>
>
> We also use JFreeCharts for some charts, and we're able to have the user
> click on the chart without causing this issue where the whole page shifts.
>
>
> On 8/2/11 3:10 PM, Jason Weathersby wrote:
>> This looks like the page containing the iframe is shifting. What does
>> the code look like?
>>
>> Jason
>>
>> On 8/2/2011 2:10 PM, Raishad Maharaj wrote:
>>> Hi,
>>>
>>> I'm using the BIRT 2.6.1 WebViewer in an application. The WebViewer is
>>> surfaced in an iframe. When a user clicks on an entry in the Table of
>>> Contents on a report, the entire page is repositioned with everything
>>> shifted left and up.
>>>
>>> I've attached 2 screenshots that shows the before and after of clicking
>>> on an entry in the Table of Contents.
>>>
>>> Any help or advice would be appreciated
>>>
>>> Thanks
>>
>
Re: Using Table of Contents (TOC) causes entire Application to Shift [message #1808279 is a reply to message #714533] Fri, 21 June 2019 04:56 Go to previous message
Krishna Prasad is currently offline Krishna PrasadFriend
Messages: 1
Registered: June 2019
Junior Member
HI,

I would like to have TOC in my PDF report, can the TOC generated dynamically ?
Please do help as its urgent.

Thanks in Advance

Krishna
Previous Topic:Can BIRT write PDF metadata?
Next Topic:Table with Vertical Scroll Bar
Goto Forum:
  


Current Time: Wed Apr 24 17:51:06 GMT 2024

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

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

Back to the top