Dears,
I have a requirement for some reports, where users will be redirect from one report to another based on some parameter values.
I googled and found that there is a function for redirection in BIRT:
var temp = new String(location.href);
location.replace("
http://serverName:port/appName/RedirectReport.jsp?report=SLA_Changes2.rptdesign");
Now redirection to the required report "SLA_Changes2.rptdesign" done successfully.
But i found what it seems like a limitation on location.replace()function as i need to send some parameter values with this URL. But if i wrote something like below in URL, redirection failed and the same report (origin) will loaded.
location.replace("
http://serverName:port/appName/RedirectReport.jsp?report=SLA_Changes2.rptdesign&organization="+reportContext.getParameterValue("Org"));
Only works with static values for parameters like below, but the parameter values for sure will be dynamic!!!
location.replace("http:/serverName:port/appName/RedirectReport.jsp?report=SLA_Changes2.rptdesign&Org=ABC");
Please advise.