| BIRT Viewer Toolkit UI Customization [message #1269431] |
Tue, 11 March 2014 17:44  |
Eclipse User |
|
|
|
We have been using the standard BIRT Viewer installed under Tomcat for many years to launch BIRT reports from a web application.
We are considering replacing the standard BIRT Viewer with the BIRT Viewer Toolkit because it would provide enhanced functionality including a date picker UI.
Currently, we tweak jsp and js code distributed with the standard BIRT Viewer to change the default print format from HTML to PDF. We would like to make the corresponding changes in the BIRT Viewer Toolkit code, but I'm having difficulty finding the corresponding source code modules.
For example, in the past we have modified PrintReportDialogFragment.jsp in the webcontent/birt/pages/dialog folder. I have found IVServerPrintReportDialogFragment.jsp in the iv/pages/dialog folder, but I don't see any references to printAsPDF or printAsHTML. With the standard BIRT Viewer we also modified BirtPrintReportDialog.js in the webcontent/birt/ajax/ui/dialog folder, but I don't see any corresponding js file in the iv/dialog folder - only files named featurennnnn.js.
It appears by default the Interactive Viewer capability is turned off when the BIRT Viewer Toolkit is installed, and therefore the IVServerPrintReportDialogFragment.jsp would not be accessible.
Can we tweak code as desired in the BIRT Viewer Toolkit, and if so, can someone point me to the correct files in the correct folders for the BIRT Viewer Toolkit app installed under Tomcat?
Also, we would like to do some customization of the report name in the toolbar of the BIRT Viewer Toolkit and I haven't found that code yet either.
|
|
|
|
|
|
| Re: BIRT Viewer Toolkit UI Customization [message #1282095 is a reply to message #1282087] |
Tue, 01 April 2014 17:28  |
Eclipse User |
|
|
|
Michael
Per my original post, in the Toolkit viewer we wanted to default the print format to PDF. In the standard BIRT viewer, modifications to code in a JSP file and a JavaScript file were needed to make this change.
Also, we wanted to remove the report file name (e.g., testReport.rptdesign) from the toolbar in the Toolkit viewer.
Thanks for clarifying the handling of the URLs.
|
|
|
Powered by
FUDForum. Page generated in 0.05990 seconds