Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to clean 'Border' in web browser using frameset way?
How to clean 'Border' in web browser using frameset way? [message #989409] Thu, 06 December 2012 01:39 Go to next message
Hunter Lee is currently offline Hunter Lee
Messages: 10
Registered: December 2012
Junior Member
Hi,

I'm new in BIRT.

I can show birt report in web browser using frameset way to display page break.
However, It appears a 'border' in web browser, my clients can not to accept it. When I designed the report, i was not used any borders in my reports at all. I made a simple demo as below.
index.php/fa/12620/0/

I modified the css file(webcontent\birt\styles\style.css) to clean the 'border'. Details as below:
.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;
}

.birtviewer_document_fragment
{
overflow:auto;
position:relative;
border-style: none;
border-width: 0px;
border-top-color: #404040;
border-left-color: #404040;
border-right-color: #D0D0D0;
border-bottom-color: #D0D0D0;
}

But, I failed. So I am eager to know how to clean the 'border', like this
index.php/fa/12621/0/

I greatly appreciate all help.

Thanks.
  • Attachment: 1.jpg
    (Size: 38.53KB, Downloaded 306 times)
  • Attachment: 2.jpg
    (Size: 13.61KB, Downloaded 268 times)
Re: How to clean 'Border' in web browser using frameset way? [message #989550 is a reply to message #989409] Thu, 06 December 2012 12:21 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

You might check the master page tab in the designer. Go to the property editor after clicking on the master page tab under the design window and choose the border section in the property editor and make sure there isn't a border. What is your BIRT version?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: How to clean 'Border' in web browser using frameset way? [message #989624 is a reply to message #989550] Thu, 06 December 2012 21:40 Go to previous messageGo to next message
Hunter Lee is currently offline Hunter Lee
Messages: 10
Registered: December 2012
Junior Member
Thanks for your reply.
The version is V4.2.1.
I had tried it before you gave this suggestion, but it didn't work. So I modified the .CSS file(as above), the border was still there. I am confused, there isn't any border in the repor, and i modify the .CSS file, why the border is still there?

[Updated on: Thu, 06 December 2012 23:18]

Report message to a moderator

Re: How to clean 'Border' in web browser using frameset way? [message #989626 is a reply to message #989624] Thu, 06 December 2012 23:32 Go to previous messageGo to next message
Hunter Lee is currently offline Hunter Lee
Messages: 10
Registered: December 2012
Junior Member
In the designer, I used 'View Report in Web Viewer' to preview the report, the border appears. When I userd 'View Report as HTML' to preview the report, there is no borders in the report.
Re: How to clean 'Border' in web browser using frameset way? [message #989627 is a reply to message #989626] Thu, 06 December 2012 23:35 Go to previous messageGo to next message
Hunter Lee is currently offline Hunter Lee
Messages: 10
Registered: December 2012
Junior Member
I deployed the report in a web application in Tomcat. I used the URL(.../MyApp/frameset?__report=MyFirstReport.rptdesign&__showtitle=false&__toolbar=false) to access the report. The border appears as you see the above picture. So, I want to know how to clean the border? Modify the sourse files or change the URL parameters?
Re: How to clean 'Border' in web browser using frameset way? [message #989808 is a reply to message #989627] Fri, 07 December 2012 18:53 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

For the record, I only see this in IE. This doesn't happen in FF or Chrome. I've not pinned it down, quite yet, but a workaround is that you can set the border for your masterpage to be white and it will cover up whatever that border is, in IE. I'll let you know if I figure out what's causing it.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: How to clean 'Border' in web browser using frameset way? [message #989843 is a reply to message #989808] Sat, 08 December 2012 05:29 Go to previous messageGo to next message
Hunter Lee is currently offline Hunter Lee
Messages: 10
Registered: December 2012
Junior Member
Much appreciated!

Out of my expectation, what a smarter way!



Re: How to clean 'Border' in web browser using frameset way? [message #989856 is a reply to message #989843] Sat, 08 December 2012 10:05 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

You're welcome!

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Need help with Blob and Sqlite
Next Topic:Birt report viewer source: where are GET report parameters set/initialized in source code ?
Goto Forum:
  


Current Time: Sat Aug 30 12:29:54 EDT 2014

Powered by FUDForum. Page generated in 0.10265 seconds