[
http://jira.jboss.com/jira/browse/JBIDE-2220?page=comments#action_12418470 ]
Snjezana Peco commented on JBIDE-2220:
--------------------------------------
I have added Seam JSF control intended to execute BIRT reports.
You can use it in the following way:
- add the BIRT framework and BIRT wtp integration
http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...
http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...
The BIRT facet doesn't work correctly with BIRT versions less than RC4
- create a new Seam Web Project
- choose the 2.0 version of the Seam facet
- add the "Birt Reporting Runtime Component" facet
- create a new xhtml file (testbirt.xhtml) as follows :
<p:birt
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:p="http://jboss.com/products/seam/birt"
designType="run"
format="pdf"
designName="test1.rptdesign"
title="JBoss Birt Test">
<p:param name="sample" value="sample test"/>
<p:param name="Cust" value="12"/>
</p:birt>
- add the following link to some xhtml file:
<s:link view="/testbirt.xhtml" value="Test Birt" />
- deploy the project
- click the Test Birt link
If you want to use BIRT frameset, create testbirt.xhtml as follows :
<p:birt
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:p="http://jboss.com/products/seam/birt"
designType="frameset"
designName="test1.rptdesign"
title="JBoss Birt Test">
</p:birt>
You will get the BIRT parameter dialog because the p:param tags don't exist in the
file.
test1.rptdesign is an example of a report added by the BIRT facet.
You can create your own report and add the Hibernate ODA datasource/dataset.
I am going to create a more detailed description of these features.
TODO :
- add parameters to the Hibernate ODA data set
- create a JSF control that will be intended to embed a BIRT report in an existing page
JBoss BIRT Integration
----------------------
Key: JBIDE-2220
URL:
http://jira.jboss.com/jira/browse/JBIDE-2220
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Reporter: Snjezana Peco
Assigned To: Snjezana Peco
Fix For: 3.0.0.alpha
Attachments: hbds.zip
I am going to integrate JBoss Tools with BIRT.
The integration will include the following functionalities:
- creating a data source based on the Hibernate Tools configuration
- creating a data set including most of the Hibernate Tools features (browsing the
Hibernate artifacts, syntax highlighting, formating, content assist...), D&D ...
- the data set preview
- creating reports using the Hibernate data source
- adding deployment within a web projects (JSF, Seam...)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira