Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Eclipse Scout & BIRT
Eclipse Scout & BIRT [message #1756358] Wed, 15 March 2017 20:12
marco santos is currently offline marco santosFriend
Messages: 9
Registered: March 2017
Junior Member
Hi everyone,

I'm working with Eclipse Scout & BIRT to use the reports and charts feature.
I followed the tutorial : https://www.eclipse.org/forums/index.php/m/1538257/#msg_1538257
But not everything works and i'm having the problem below:

When i run the report at BIRT perspective it opens the browser and show the report through the link below
http://127.0.0.1:51105/viewer/preview?__report=C%3A%5CUsers%5Cmarco%5Cworkspace%5CBIRT-TESTE%5Cvendasreport.rptdesign&__format=html&__svg=true&__locale=pt_BR&__timezone=BET&__masterpage=true&__rtl=false&__cubememsize=10&__resourceFolder=C%3A%5CUsers%5Cmarco%5Cworkspace%5CBIRT-TESTE&__emitterid=org.eclipse.birt.report.engine.emitter.html&-2054127847
and in scout i use a AbstractButton to load the report in a BrowserFiled
Ex:
...
private static final String RelatorioTest = "http://127.0.0.1:51105/viewer/preview?__report=C%3A%5CUsers%5Cmarco%5Cworkspace%5CBIRT-TESTE%5Cvendasreport.rptdesign&__format=html&__svg=true&__locale=pt_BR&__timezone=BET&__masterpage=true&__rtl=false&__cubememsize=10&__resourceFolder=C%3A%5CUsers%5Cmarco%5Cworkspace%5CBIRT-TESTE&__emitterid=org.eclipse.birt.report.engine.emitter.html&-2054127847";
...
...
...

@Override
protected void execClickAction() {
getBrowseField().setLocation(getRelatoriotest());
}
...

But the problem is.. if i restart eclipse and run the application again the report dont work e gives the error "Connection with 127.0.0.1 refused", so i have to run the report at BIRT again witch generates another
different link making me copy the new link e paste it into the constant "private static final String RelatorioTest" for the report work again
anyone have any ideia of how to solve it?

Environment:
Windows 10 64bits
Eclipse Neon
Java 1.8
BIRT 4.3
Previous Topic:[mars] docx4j - how to use
Next Topic:Copying to clipboard without intermediate window
Goto Forum:
  


Current Time: Fri Apr 26 13:00:37 GMT 2024

Powered by FUDForum. Page generated in 0.02850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top