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

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.-_-