|
Re: Birt 2.2 on JBoss 6 [message #715172 is a reply to message #714968] |
Fri, 12 August 2011 15:15 |
|
Sandro,
Have you seen this link?
http://wiki.eclipse.org/Seam_%28BIRT%29_Recipe
I have an example of using seam with birt 3.7 on JBoss 6, if you are
interested.
Jason
On 8/11/2011 6:51 PM, Sandro Augusto wrote:
> Is that possible? Can I deploy my application Seam 2.2.2 JSF 1.2 and
> Birt 2.2 on Jboss 6?
> I'm trying and getting a lot of errors in application. When I'm
> deploying Jboss doesn't raise any exception or ERROR. Just when I call
> reports using Birt.
> Please, any help?
>
>
|
|
|
|
Re: Birt 2.2 on JBoss 6 [message #716225 is a reply to message #716105] |
Tue, 16 August 2011 17:24 |
|
Sandro,
The attached example uses JBoss AS 6.0.0, SEAM 3.0.0 and BIRT 3.7. Be
sure to use the readme as you will need to create a local repository for
the BIRT engine. BTW the example uses the following html:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Seam Remoting - BIRT Example</title>
</head>
<body>
<h1>Seam Remoting - BIRT Example</h1>
<script type="text/javascript"
src="seam/resource/remoting/resource/remote.js"></script>
<script type="text/javascript"
src="seam/resource/remoting/interface.js?org.birt.seam.SeamBirt"></script>
<script type="text/javascript">
//<![CDATA[
// Seam.debug = true;
function insertReport()
{
var callback = function(result) {
document.getElementById("reportdiv").innerHTML=result; };
Seam.createBean("org.birt.seam.SeamBirt").genReport("c:/test/TopNPercent.rptdesign", callback);
}
</script>
<div id="reportdiv"/>
<button onclick="javascript:insertReport()">Invoke</button>
</body>
</html>
This just calls the birt engine to run the Top N Percent report and
writes the output into a div element.
Jason
On 8/16/2011 9:18 AM, Sandro Augusto wrote:
> Yes! I'd like to see your example.
> Can you send me by email or post link here?
|
|
|
Powered by
FUDForum. Page generated in 0.01838 seconds