Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Birt create own style name
Dakmen
Hello<br />
I need help please<br />
I've designed more separate reports with using report engine and integrating them into a single page through JSF. <br />
unfortunately BIRT return in html own style names like "style_1,_2 .." randomly.<br />
Can I change this behavior ?<br />
I need the same name of css style as in design definition.<br />
"table-header", "table-footer" etc.<br />
I have now two definition on one page with the same name<br />
For example <strong class='bbc'>style_1</strong>{font-size:<strong class='bbc'>11px</strong>}, <strong class='bbc'>style_1</strong>{font-size:<strong class='bbc'>12px</strong>} <br />
Any solution for me ?<br />
Thank you very very much
Find more posts tagged with
Comments
mwilliams
So, when you run the report in HTML, BIRT uses it's own style names of style_1, etc, rather than the actual style name? So, this is causing issues when you join reports into the same page. Is this correct? Let me know.
Dakmen
Thank you very much for your reaction<br />
This is big problem for me. My conception more reports on one page is threatened<br />
<br />
>>So, this is causing issues when you join reports into the same page.<br />
<br />
Yes. It is correct.<br />
The style <strong class='bbc'>firststyle</strong> in first.rptdesign is defined for example as "red" and style <strong class='bbc'>secondstyle</strong> in second.rptdesign as "green" <br />
Reports are placed with using report engine in one html page.(The combination of two reports into a single report) solution is not for me. I have reasons why they are two separate rptdesign.<br />
After insert into one html page, both reports are of the same color.<br />
Last placed report(style) probably wins<br />
Can help me setting HTML_ENABLE_AGENTSTYLE_ENGINE or HTML_ENABLE_INLINE_STYLE ?
mwilliams
You could try using the viewer tag library and embedding the two reports into the same JSP page. Not sure if this is an option for you or not or if you have to do it the way you're currently doing it.
mwilliams
Or you might check out the file that JSF gives you and see if each report is wrapped in its own <div>....if not, give that a try first before trying to make your own JSP page with the viewer embedded using the taglib.