Hi,
I added a button and a t:browser component like the one in the demos (Embedded Browser), but in my workplace the the browser shows nothing?
Only when I extract the page into an own window, the component gets rendered?
I think I had similar problem already posted in the past, but I can't find it anymore?
Any suggestions?
Logic:
Code:
String reportUrl;
public String getReportUrl() {return reportUrl;}
public void setReportUrl(String reportUrl) {this.reportUrl = reportUrl;}
String browserUrl = "http://localhost:50000/birt/frameset?__report=test.rptdesign&sample=my+parameter";
public String getBrowserUrl() {return browserUrl;}
public void setBrowserUrl(String browserUrl) {this.browserUrl = browserUrl;}
public void onLoadReport(ActionEvent ae) {
setBrowserUrl(reportUrl);
}
Page:
Code:
</t:tabbedpanetab>
<t:tabbedpanetab id="g_150" rowdistance="5" text="#{rr.literals.reports}" >
<t:row id="g_151" >
<t:field id="g_152" text="#{d.ScheduleUI.reportUrl}" width="100" />
<t:coldistance id="g_153" />
<t:button id="g_154" actionListener="#{d.ScheduleUI.onLoadReport}" text="Load report" />
</t:row>
<t:row id="g_155" >
<t:browser id="g_156" enabled="true" height="100%" url="#{d.ScheduleUI.browserUrl}" width="100%" />
</t:row>
</t:tabbedpanetab>
I got a log but I get a NPE when trying to upload?
regards
Markus