Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
CssImport when using Component Exporter by Mikhail Shabarov, 6 months ago
Using Birt report in Vaadin Portlet
Hi All,
I want to know, how to show/integrate BIRT reports in a vaadin portlet.
Plz help.
Thanks in advance!
-Azad
Last updated on May, 31st 2012
Hi,
Here is the sample code:
URL url = null;
try {
url = new URL("http://localhost:8080/birt/frameset?__report=report/reportname.rptdesign&__format=html&__overwrite=true&__locale=en_US&__designer=false");
} catch (MalformedURLException e) {
e.printStackTrace();
}
Embedded browser = new Embedded("", new ExternalResource(url));
browser.setType(Embedded.TYPE_BROWSER);
browser.setSizeFull();
browser.setHeight("900px");
browser.setWidth("100%");
mainWindow.addComponent(browser);
You need to have deployed your birt report in Tomcat app server.-_-
Last updated on
You cannot reply to this thread.