Changing the WebViewer's default settings [message #249626] |
Tue, 24 July 2007 17:39  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.25697 seconds