birt

BIRT in spring boot app

假装没事ソ 提交于 2019-12-04 07:48:11
问题 I need to create a report capability(function) in an existing spring boot web application. The suggestion was to use BIRT, which I could integrate with the spring boot web app. I found the article below and was able to run the reports in a spring boot starter project (using http://start.spring.io/). This article, fairly old, did help me to get to a working example. https://spring.io/blog/2012/01/30/spring-framework-birt. This article is basically exactly what I want, but in a spring boot web

BIRT: pdf emitter, load/use fonts from relative path or from jar files

我的梦境 提交于 2019-12-04 03:44:15
问题 I use BIRT since early days and still have riddles regarding PDF emitter. Short story : Can I configure fontsConfig.xml to load fonts from relative path or from jars? Long story: We are using both FOP and BIRT for generating PDF in our web application. It would be nice to share fonts between libraries. Unfortunately, I can't find a way to do it with BIRT 2.3.1 The root of evil is fontsConfig.xml If I configure it like shown below it works fine: <font-paths> <path path="fonts"/> </font-paths>

How to secure BIRT Report Viewer

ⅰ亾dé卋堺 提交于 2019-12-03 17:10:38
I need to implement authentication of user for birt report viewer while opening the reports, so that we should not be able to run the report and user authentication should also be done before opening the report. As Iswanto San already mentioned in his comment - I would use Spring Security as well. But it really depends on your skill set - and what you are deploying your viewer to. If you use Tomcat - you can create a simple form authentication by following this step-by-step guide from Deron Eriksson on avajava.com. Another option would be to follow what Birt-Exchange recommends by following

How can I import JSON data from a REST API into BIRT?

若如初见. 提交于 2019-12-03 10:50:56
I want to use BIRT to generate reports against data that comes from a JSON based REST API. How can I import this data? Phyxx The process for doing this is described at http://developer.actuate.com/community/forum/?app=blog&blogid=45&showentry=471 , but it turns out that there are a few important steps missing. I'll fill in a few blanks here. The original instructions describe creating a Scripted Data Source, with an "open" script that makes use of the com.actuate.json.JSONParser class. First, it is important to realise that this class is not part of BIRT, and needs to be manually added (along

How to set a datasource for a BIRT report programmatically?

☆樱花仙子☆ 提交于 2019-12-03 09:20:04
问题 I have a BIRT report which connects to our test database. In the productive environment I would like to supply a datasource which is provided by the container through jndi. How would I set the datasource programmatically for the given report? ... IReportRunnable design = birtEngine.openReportDesign ( new File ( properties.getProperty ( "reportPath" ), report + ".rptdesign" ).getAbsolutePath () ); IRunAndRenderTask task = birtEngine.createRunAndRenderTask ( design ); PDFRenderOption options =

Why doesn&#039;t Websphere like BIRT?

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to start a deployment of a project to Websphere and I get the following error trail. (Shortened) ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'birtView' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'birtEngine' while setting bean property 'birtEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean

Why is there no Maven repository for Eclipse Birt 3.7 =&gt; There is one for Birt 4.2

匿名 (未验证) 提交于 2019-12-03 02:51:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Now, since Birt 3.7 has an easier way to use the runtime (just deploy the jars), why is there no maven repository? Birt contains over 50 dependencies, it's ridiculous. How do you work around this issue? Update: Some more help is out there (we are not alone): https://dev.c-ware.de/confluence/display/PUBLIC/Embeding+Birt+into+Application+built+with+Maven Update 11. Feb. 2012 In the linked Birt-Exchange Forum there is some progress: <repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https:/

Dynamic data in Cross Tab of Birt Tool

匿名 (未验证) 提交于 2019-12-03 01:26:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: how to hide cross tab columns runtimely based on user selection in birt Tool 回答1: See the attached image... 回答2: Rows and columns can be removed from visibility in BIRT cross tabs by filtering the cross tab. To do this: Select the crosstab object in the Layout window. In the Property Editor for the cross tab, select the Filters tab. Click the Add... button to the right of the Filter by: list. In the New Filter Condition dialog, select the desired column from the Target: section and the relevant conditions in the Filter Condition: section.

Protect BIRT&#039;s report

匿名 (未验证) 提交于 2019-12-03 01:12:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I can prevent users opening BIRT report from website that I built. But considering the report's link still in browser's history, any user from this computer still able to open the report by calling the link from history, for instance. How to prevent the link of BIRT's report stays in the browser, after user close the report? So the only way to open the report is from the website. Or maybe someone has other better method to achieve the same goal? Like showing a user name and password in BIRT, before user can use the report parameter? 回答1: The

How to assign the birt report rptdesign file to jsp

自闭症网瘾萝莉.ら 提交于 2019-12-02 18:27:38
问题 I am completely new about BIRT Report. The report content's fetching the data from MySQL DB then generated ' .rptdesign ' file. I am able to generate ' .rptdesign ' file. Now I need to use ' .rptdesign ' file in JSP file. How to configure the ' .rptdesign ' in JSP and how to display report in JSP file. 回答1: Assuming you have the BIRT runtime setup on a server somewhere you could use an iFrame to render the report within a JSP. <iframe name="myReport" src="http://localhost:8080/birt/run?_