|
Re: Customising BIRT Sample Viewer [message #813920 is a reply to message #812159] |
Mon, 05 March 2012 21:06 |
|
To change the title do one of the following
1- Add the __title parameter to your URL ie
http://localhost:8080/3.7.0/frameset?__report=test.rptdesign&sample=my+parameter&__title=My
Title
2 - You could extract the viewservlets.jar in the WEB-INF/lib and change
the birt.viewer.title=BIRT Report Viewer entry in the
\org\eclipse\birt\report\resource\Messages.properties file. (You could a
To add an image you should be able to just modify the jsp fragments.
Where do you want the image?
Jason
On 3/3/2012 5:07 AM, GG - wrote:
> Hi, I am a novice to BIRT.
> I am using BIRT Viewer for viewing the reports on JBoss 5.1.
> I want to customise the sample viewer for my web application.
> 1. for display name update from "BIRT Report Viewer" to "Report Viewer"
> 2. add logo of company for which reports are developed in the same panel
> I could change the background colour of navigation bar. But how to
> customise it for adding image , disaply name?
>
> Regards,GG
>
>
>
|
|
|
|
Re: Customising BIRT Sample Viewer [message #814647 is a reply to message #814531] |
Tue, 06 March 2012 18:07 |
|
If you are using the frameset servlet mapping look at the
FramesetFragment.jsp in the webcontent\birt\pages\layout folder.
Specifically around line number 140 you will see a table with the
comment <!-- Header seciton -->. That is where I would put it in.
Jason
On 3/6/2012 10:09 AM, SanthoshMani Nachiappan wrote:
> Hello Jason,
>
> I too had the same confusion. Thanks for the info. I need to insert the
> display image above the title in the header itself. Which JSP should
> look into for this ?.
>
>
|
|
|
|
|
Re: Customising BIRT Sample Viewer [message #878631 is a reply to message #878569] |
Tue, 29 May 2012 15:50 |
|
Can you try putting the images in the following folder
webcontent\birt\images
and then reference them like:
<TR align="center">
<TD > <img src="birt/images/LOGO1.jpg" style="height: 49px; width:
132px; "></TD>
<TD style="color:blue; font-size: 100"><B>Delivery Dashboard</B></TD>
<TD><img src="birt/images/imagesC.jpg" style="height: 49px; width:
132px; "></TD>
</TR></TABLE></TD></TR>
Jason
On 5/29/2012 10:41 AM, swapnil jagadale wrote:
> Hi Jason
>
> I made the changes in the file-->
> webcontent\birt\pages\layout\FramesetFragment.jsp
> But font-size of title is very small. I tried to increase it but its not
> being displayed on the web page.I tried to insert images in the heder but its
> not working. I gave complete image path still the images are
> not shown in the web page header. Need help.
>
>
> Here is the code I used.<!-- Header section --> (as you said line 140)
> <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'>
> <%
> if( attributeBean.isShowTitle( ) )
> {%>
> <TR>
> <TD COLSPAN='2'>
> <TABLE BORDER=0 CELLSPACING="0" CELLPADDING="1px" WIDTH="100%" align="center">
> <TR align="center">
> <TD> <img src="D:\new\Tomcat 6.0\webapps\birt\webcontent\birt\images\LOGO1.jpg" style="height: 49px; width: 132px; "></TD>
> <TD style="color:blue; font-size: 100"><B>Delivery Dashboard</B></TD>
> <TD><img src="D:\new\Tomcat 6.0\webapps\birt\webcontent\birt\images\imagesC.jpg" style="height: 49px; width: 132px; "></TD>
> </TR></TABLE></TD></TR>
>
> Here is the snapshot of the report (viewed on tomcat server)
>
>
>
> Waiting for your reply eagerly.
>
> Thanks and Regards
> swapnil
|
|
|
|
Re: Customising BIRT Sample Viewer [message #879160 is a reply to message #878863] |
Wed, 30 May 2012 16:20 |
|
TryL
<TD style="color:blue; font-size: 20pt"><b>Delivery Dashboard</b></TD>
Jason
On 5/30/2012 12:56 AM, swapnil jagadale wrote:
> Hi Jason,
>
> Hay.... Thanks. It worked.
>
> But the problem of the font size continues. No matter what font size I
> use in code the web page displays the same tiny heading as "Delivery
> Dashboard".
> How can I increase the font size?
>
> <TD> <img src="birt\images\LOGO1.jpg" style="height: 49px; width: 132px;
> "></TD>
> <TD style="color:blue; font-size: 100"><B>Delivery Dashboard</B></TD>
> <TD> <img src="birt\images\imagesC.jpg" style="height: 49px; width:
> 132px; "></TD>
>
>
> Thanks and Regards
>
> Swapnil
|
|
|
Powered by
FUDForum. Page generated in 0.04237 seconds