Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Extra border in HTML output using Birt 4.2.2 viewer
Extra border in HTML output using Birt 4.2.2 viewer [message #1047568] Tue, 23 April 2013 11:47 Go to next message
purnima d is currently offline purnima dFriend
Messages: 26
Registered: April 2013
Junior Member
We are using birt 4.2.2 runtime and generated a report in HTML we have observed there is extra border line around the report.
Using birt viewer this bug can be reproduced.Please find the attached rptdesign and run with birt web viewer ,

Actual :
The report will be displayed with default border

Expected behaviour : The report needs to displayed without border.

Note:
We are using tags in birt.tld

<birt:report id="birtViewer"
reportDocument="<%=docName%>"
format="html"
isHostPage="false"
pageNum="<%=pageNum%>"
scrolling="no"
width="950"
reportContainer="div"
frameborder="no"
contentEncoding="UTF-8">
</birt:report>

We already have some generated rptdocuments using version 3.7 so we cannot make anychanges to rptdesign or libraries we are looking for a work around in birt viewer itself.


Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1047898 is a reply to message #1047568] Tue, 23 April 2013 20:17 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher ClarkFriend
Messages: 130
Registered: January 2013
Senior Member
Can you post a screenshot of the report with the border? I'm not getting it when I view your report from tomcat 6. Have you tried the frameborder tag?
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1047945 is a reply to message #1047568] Tue, 23 April 2013 21:46 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

In the style.css at viewer/webcontent/birt/styles, go to row 383. You'll see this:
/******************************************************************************
 * Birt document.
 *****************************************************************************/
.birtviewer_document_fragment
{
	overflow:auto;
	position:relative;
	border-style: solid;
	border-width: 2px;
	border-top-color: #404040;
	border-left-color: #404040;
	border-right-color: #D0D0D0;
	border-bottom-color: #D0D0D0;
}


If you change the border-style to none or just delete the border style lines altogether, this should solve your issue.


Michael

Developer Evangelist, Silanis
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1048329 is a reply to message #1047898] Wed, 24 April 2013 10:16 Go to previous messageGo to next message
purnima d is currently offline purnima dFriend
Messages: 26
Registered: April 2013
Junior Member
Hi,
PFA screenshot with border
  • Attachment: border.JPG
    (Size: 96.73KB, Downloaded 357 times)
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1048339 is a reply to message #1047945] Wed, 24 April 2013 10:24 Go to previous messageGo to next message
purnima d is currently offline purnima dFriend
Messages: 26
Registered: April 2013
Junior Member
Hi William

Thanks for the alternative , we tried these options but still facing the same issue.
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1048409 is a reply to message #1048339] Wed, 24 April 2013 12:32 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher ClarkFriend
Messages: 130
Registered: January 2013
Senior Member
It looks like your running the report from eclipse. How are you going to deploy the report? When I deployed it in Tomcat 6 there is no border.

Edit:
I overlooked that you are using the tag library

[Updated on: Wed, 24 April 2013 14:27]

Report message to a moderator

Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1048517 is a reply to message #1048409] Wed, 24 April 2013 15:29 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligoFriend
Messages: 74
Registered: July 2011
Member
We use Weblogic Application server to deploy the code.
In our application we get a link in the front-end to view the report. Once the link is clicked the rptdocumnet is displayed to the end-user. In the rptdocument we are getting the border line.
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1048647 is a reply to message #1048517] Wed, 24 April 2013 19:31 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

The output I get from the JSP code above is different from what I see in the image you attached. The border you show is only an issue in Internet Explorer from what I've seen. Let me know if this is the case for you. The way I've gotten around this is to add a white border to the masterpage:

            <property name="borderBottomColor">#FFFFFF</property>
            <property name="borderBottomStyle">solid</property>
            <property name="borderBottomWidth">medium</property>
            <property name="borderLeftColor">#FFFFFF</property>
            <property name="borderLeftStyle">solid</property>
            <property name="borderLeftWidth">medium</property>
            <property name="borderRightColor">#FFFFFF</property>
            <property name="borderRightStyle">solid</property>
            <property name="borderRightWidth">medium</property>
            <property name="borderTopColor">#FFFFFF</property>
            <property name="borderTopStyle">solid</property>
            <property name="borderTopWidth">medium</property>


Michael

Developer Evangelist, Silanis
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1049328 is a reply to message #1048647] Thu, 25 April 2013 17:51 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligoFriend
Messages: 74
Registered: July 2011
Member
Yes the bordre is appearing only in Internet Explorer.We do not want border to be displayed in the reports generated using 3.7 and viewed through 4.2.2 version.
The option suggested above might only work for reports that will be generated from now on, but what about reports already generated using 3.7.
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1049546 is a reply to message #1049328] Fri, 26 April 2013 01:43 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

I'll let you know if I find another way to get rid of it.

Michael

Developer Evangelist, Silanis
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1049607 is a reply to message #1049546] Fri, 26 April 2013 04:01 Go to previous messageGo to next message
purnima d is currently offline purnima dFriend
Messages: 26
Registered: April 2013
Junior Member
Hi William,
We have another issue with this birt upgrade embeded image in the report is not getting displayed.
We are using weblogic 11 , JDK 1.6 and Oracle 11g
We have verified the rptdocument from browser using framset?__document but still facing the same issue

Note: This embeded image that we are using is inherited from rptlibrary

[Updated on: Fri, 26 April 2013 05:00]

Report message to a moderator

Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1050006 is a reply to message #1049607] Fri, 26 April 2013 15:08 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Is this for all browsers? If you create a new report with 4.2.2 rather than using an older one, does it work?

Michael

Developer Evangelist, Silanis
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1050053 is a reply to message #1050006] Fri, 26 April 2013 16:17 Go to previous messageGo to next message
purnima d is currently offline purnima dFriend
Messages: 26
Registered: April 2013
Junior Member
Yes this is for all browsers.
Even for new report (using birt runtime 4.2.2)the embedded image is not getting displayed.
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1052628 is a reply to message #1050053] Tue, 30 April 2013 10:20 Go to previous messageGo to next message
purnima d is currently offline purnima dFriend
Messages: 26
Registered: April 2013
Junior Member
Hi Williams,

Any update on this issue?
Re: Extra border in HTML output using Birt 4.2.2 viewer [message #1053200 is a reply to message #1052628] Fri, 03 May 2013 05:38 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

This is only when deployed, not from the designer, correct?

Michael

Developer Evangelist, Silanis
Previous Topic:Dynamically generate pie chart in script
Next Topic:Group data on same line as detail data - How to?
Goto Forum:
  


Current Time: Fri Mar 29 02:34:59 GMT 2024

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

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

Back to the top