Skip to main content



      Home
Home » Archived » BIRT » Changing the WebViewer's default settings
Changing the WebViewer's default settings [message #249626] Tue, 24 July 2007 17:39 Go to next message
Eclipse UserFriend
Hello all.

I am using WebViewer in my RCP app and I would like to remove some of
the buttons/icons that are added automatically on the top of the viewer,
namely the 'Run Report', 'Export Date' and possibly 'Print Report as
PDF'. Are there settings to control this or changes need to happen
directly in the JSP files?

Secondly, when I click on 'Print Report as PDF', it tries to open the
report in acrobat reader as an embedded application in the browser and
that practically puts my CPU usage to 100% for a long time and UI
becomes very non-responsive. I am using "frameset" and have my SWT
browser embedded in my RCP app. If I cut and paste the URL into IE and
try the same, it still tries to open acrobat as an embedded app but it
happens fairly quickly. Is there a setting specific to my SWT browser to
change that and open acrobat as an external application, without making
any changes in global settings of my IE?

Many thanks,
Ali.
Re: Changing the WebViewer's default settings [message #249653 is a reply to message #249626] Tue, 24 July 2007 18:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Ali,

If you use the /run mapping instead of the /frameset mapping the navbar
will not be shown. Short of that you should be able to modify the
navigationbarfragmentjsp in the viewer plugin.

Jason

Ali Naddaf wrote:
> Hello all.
>
> I am using WebViewer in my RCP app and I would like to remove some of
> the buttons/icons that are added automatically on the top of the viewer,
> namely the 'Run Report', 'Export Date' and possibly 'Print Report as
> PDF'. Are there settings to control this or changes need to happen
> directly in the JSP files?
>
> Secondly, when I click on 'Print Report as PDF', it tries to open the
> report in acrobat reader as an embedded application in the browser and
> that practically puts my CPU usage to 100% for a long time and UI
> becomes very non-responsive. I am using "frameset" and have my SWT
> browser embedded in my RCP app. If I cut and paste the URL into IE and
> try the same, it still tries to open acrobat as an embedded app but it
> happens fairly quickly. Is there a setting specific to my SWT browser to
> change that and open acrobat as an external application, without making
> any changes in global settings of my IE?
>
> Many thanks,
> Ali.
Re: Changing the WebViewer's default settings [message #249662 is a reply to message #249653] Tue, 24 July 2007 21:21 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Jason. I need to have the "pagination" and that is why I am using
frameset, unless there is a simple way to add that to /run, is there? I
will give the navigationbarfragment.jsp a try.

Ali.

Jason Weathersby wrote:
> Ali,
>
> If you use the /run mapping instead of the /frameset mapping the navbar
> will not be shown. Short of that you should be able to modify the
> navigationbarfragmentjsp in the viewer plugin.
>
> Jason
>
> Ali Naddaf wrote:
>> Hello all.
>>
>> I am using WebViewer in my RCP app and I would like to remove some of
>> the buttons/icons that are added automatically on the top of the
>> viewer, namely the 'Run Report', 'Export Date' and possibly 'Print
>> Report as PDF'. Are there settings to control this or changes need to
>> happen directly in the JSP files?
>>
>> Secondly, when I click on 'Print Report as PDF', it tries to open the
>> report in acrobat reader as an embedded application in the browser and
>> that practically puts my CPU usage to 100% for a long time and UI
>> becomes very non-responsive. I am using "frameset" and have my SWT
>> browser embedded in my RCP app. If I cut and paste the URL into IE and
>> try the same, it still tries to open acrobat as an embedded app but it
>> happens fairly quickly. Is there a setting specific to my SWT browser
>> to change that and open acrobat as an external application, without
>> making any changes in global settings of my IE?
>>
>> Many thanks,
>> Ali.
Re: Changing the WebViewer's default settings [message #249743 is a reply to message #249662] Wed, 25 July 2007 11:33 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Ali,

If you want the nav controls but want to disable the run report etc, do
this is in the toolbarfragment.jsp

Jason

Ali Naddaf wrote:
> Thanks Jason. I need to have the "pagination" and that is why I am using
> frameset, unless there is a simple way to add that to /run, is there? I
> will give the navigationbarfragment.jsp a try.
>
> Ali.
>
> Jason Weathersby wrote:
>> Ali,
>>
>> If you use the /run mapping instead of the /frameset mapping the
>> navbar will not be shown. Short of that you should be able to modify
>> the navigationbarfragmentjsp in the viewer plugin.
>>
>> Jason
>>
>> Ali Naddaf wrote:
>>> Hello all.
>>>
>>> I am using WebViewer in my RCP app and I would like to remove some of
>>> the buttons/icons that are added automatically on the top of the
>>> viewer, namely the 'Run Report', 'Export Date' and possibly 'Print
>>> Report as PDF'. Are there settings to control this or changes need to
>>> happen directly in the JSP files?
>>>
>>> Secondly, when I click on 'Print Report as PDF', it tries to open the
>>> report in acrobat reader as an embedded application in the browser
>>> and that practically puts my CPU usage to 100% for a long time and UI
>>> becomes very non-responsive. I am using "frameset" and have my SWT
>>> browser embedded in my RCP app. If I cut and paste the URL into IE
>>> and try the same, it still tries to open acrobat as an embedded app
>>> but it happens fairly quickly. Is there a setting specific to my SWT
>>> browser to change that and open acrobat as an external application,
>>> without making any changes in global settings of my IE?
>>>
>>> Many thanks,
>>> Ali.
Previous Topic:Birt SVG charts rendered as vector graphics in a PDF using Birt 2.2?
Next Topic:Cookies/Session For PHP integration
Goto Forum:
  


Current Time: Tue Jul 22 14:26:34 EDT 2025

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

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

Back to the top