Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
Difficulty Setting Rendering Defaults on BVT Built-In Emitters
Migrateduser
<p>Using BIRT 3.7.2, we pass requests to the BIRT Viewer (set up as a Tomcat Plugin). Some of our reports are abnormally large from the built-in HTML Emitter. Doing some research, there are preferences that can be set to remedy this when calling the reporting engine directly, but not available through HTTP requests.</p>
<p> </p>
<p>Specifically there is option.setOption( IHTMLRenderOption.HTML_ENABLE_COMPACT_MODE, true ); and option.setEnableCompactMode( true );</p>
<p> </p>
<p>I thought I could add a RenderDefaults.cfg to the org\eclipse\birt\report\engine\emitter\config\html path within the org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar file but there doesn't seem to be a way to repackage the jar file in a way Tomcat will accept and run it. I have to remove the signatures for BIRT to load in Tomcat, but even doing that, the BVT comes to an error "org.eclipse.birt.report.exception.ViewerException: Fatal error occurred when try to startup report engine." (sic)</p>
<p> </p>
<p>All I want to do is tell the built-in HTML emitter to use compact mode as a default setting.</p>
<p> </p>
<p>Anyone have ideas on how to do this ... or perhaps some ideas on how to get the BIRT Viewer in Tomcat to work after re-jar-ing the directory? (There doesn't seem to be a way to re-jar the package without stripping out the signatures from the META-INF folder.)</p>
<p> </p>
<p>Thanks!</p>
Find more posts tagged with
Comments
There are no comments yet