|
|
|
|
|
|
Re: HTTP Request [message #929703 is a reply to message #929182] |
Mon, 01 October 2012 17:26 |
Dan Darnell Messages: 145 Registered: November 2011 Location: Arkansas |
Senior Member |
|
|
Using BiRT here with EGL in RBD and it works very well. We're not actually using the interface that allows you to code EGL as a means of providing data to BiRT reports. Rather, we just design BiRT reports using its own tools but invoke those reports out of EGL as desired. I haven't tried doing background report creation though (ours always pop up the generated report on the client system).
Here's our RBD implementation:
Property used to somewhat soft-code the server reference...
reportRoot=http://www.myserver.com/birt/frameset?__report=
External type used to launch report in new window...
launch Launch {};
launch.openWindow(Properties.reportRoot, reportName);
External type details...
externalType Launch extends Widget type JavaScriptObject {
relativePath = "com/xxxxxx/custom/widgets",
javaScriptName = "Launch" }
function openWindow(host string in, path string in) returns(boolean);
end
egl.defineClass(
'com.xxxxxx.custom.widgets', 'Launch',
{
"openWindow" : function (host, path) {
var windowUrl=host+escape(path);
m = window.open(windowUrl,'newwindow','resizable=yes');
return true;
}
});
|
|
|
|
Powered by
FUDForum. Page generated in 0.04869 seconds