Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How can I customize the ViewerServlet's "BIRT Report Viewer" report label?(How can I customize the ViewerServlet's "BIRT Report Viewer" report label?)
How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689475] Mon, 23 March 2015 16:52 Go to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
If I access a report running under the ViewerServlet the report shows "BIRT Report Viewer" near the top of the page. Is there a Knowledge Base article explaining a configuration option that allows me to customize this text? If not, can you point me to where in the source I could manually change this?

Thank you.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689558 is a reply to message #1689475] Mon, 23 March 2015 21:15 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
I think some of these posts should help:

1. http://developer.actuate.com/community/forum/index.php?/topic/23581-edit-the-birt-report-viewer-title/
2. http://developer.actuate.com/community/forum/index.php?/topic/25081-need-to-changeremove-text-birt-report-viewer-from-window-tab/
3. http://developer.actuate.com/community/forum/index.php?/topic/24948-need-to-changeremove-text-birt-report-viewer-from-headeraddress-bar-and-title-bar/
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689568 is a reply to message #1689558] Mon, 23 March 2015 21:39 Go to previous messageGo to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Hi Jesse,

Thanks for your prompt response.

The URL parameter worked just fine! Is there a reference you would recommend for learning about all of the URL parameters?

Thanks.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689573 is a reply to message #1689568] Mon, 23 March 2015 21:43 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
Take a look at the viewer usage documentation here: https://www.eclipse.org/birt/documentation/integrating/viewer-usage.php

That should be a good resource to get started.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689576 is a reply to message #1689573] Mon, 23 March 2015 21:49 Go to previous messageGo to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Thanks Jesse - that's just what I needed!
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689580 is a reply to message #1689576] Mon, 23 March 2015 21:54 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
You're welcome.

I'm glad I could be of assistance.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1689987 is a reply to message #1689580] Tue, 24 March 2015 20:27 Go to previous messageGo to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Hi Jesse,

Looks like I spoke too soon.

When I tested the use of __title I did so with a report that just used some components in a Library and it worked. However, if I define a Template that uses some components in a Library and then I derive a report that is based on that Template have a problem. Even though I am still using the __title= in the URL that worked before now I get the Title or Display Name (they are both the same) of the Template as being displayed. How does using a Template to build a report cause this to happen and how can I override this?

Thank you.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690201 is a reply to message #1689987] Wed, 25 March 2015 16:31 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
Hmm that does seem a bit odd that when a report is based on a template that is no longer working.

What version of BIRT are you using?
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690230 is a reply to message #1690201] Wed, 25 March 2015 20:52 Go to previous messageGo to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Hi Jesse,

I running with the code from birt-runtime-4_4_1-20140916.zip.

Thanks.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690329 is a reply to message #1690230] Thu, 26 March 2015 16:03 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
Do you receive the same behavior if you run the report from within the designer?

Can you attach a sample report based on a flat file or classic model that I can to reproduce the issue?
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690363 is a reply to message #1690329] Thu, 26 March 2015 21:56 Go to previous messageGo to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Hi Jesse,

In the process of building you a sample file I believe I discovered the problem. If the report has a Title value (in the Property Editor > General tab) the __Title URL parameter is ignored. If the Title is empty then the __Title URL parameter value is displayed. I was under the impression that the __Title URL parameter forced the Title (the Docs say " Sets the report title.) but it doesn't look like that is how it's working. Can you confirm this is the the proper behavior?

Thanks.

Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690883 is a reply to message #1690363] Tue, 31 March 2015 18:37 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
From what I can tell, it does appear that setting the Title within the report design takes precedence over what is set in the URL.

I did find a bug report on this but it is still open: https://bugs.eclipse.org/bugs/show_bug.cgi?id=292734
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690887 is a reply to message #1690883] Tue, 31 March 2015 19:03 Go to previous messageGo to next message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Hi Jesse,

Thanks for looking into this and verifying that this behavior really isn't what is wanted. Now that I know that this was caused by having a Title in the report def I can adapt and move forward.

Shameless plea for help:

Would you take another look at my submission "Can't set a font typeface for the Body of a report" @ https://www.eclipse.org/forums/index.php/t/1065079/? I have a ton of reports that I need to build but I can't move forward until I see how to handle this problem.

Thank you!

Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690888 is a reply to message #1690887] Tue, 31 March 2015 19:07 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
I've actually got your other post open in a different tab right now.

There is a lot there and I've not gone down the CSS path you are on so I'm trying to work my way through it all.
I will try and get you are response a quickly as I can.
Re: How can I customize the ViewerServlet's "BIRT Report Viewer" report label? [message #1690898 is a reply to message #1690888] Tue, 31 March 2015 19:52 Go to previous message
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Thank you very much!
Previous Topic:BIRT Report Development
Next Topic:Birt Report from timeclock data
Goto Forum:
  


Current Time: Thu Apr 25 12:30:21 GMT 2024

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

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

Back to the top