<p>Hi,</p><p> </p><p>I tried the code below (taken on <a data-ipb='nomediaparse' href='
http://www.eclipse.org/forums/index.php/t/163879'>http://www.eclipse.org/forums/index.php/t/163879</a>) to auto-refresh a report on BIRT 2.2.1 and it works really fine. But I need to do perform auto-refreshing on BIRT 3.7.1 and it doesn't work.</p><p> </p><p>I'd like to know how to auto-refresh on 3.7.1 and why the code below does not work on 3.7.1.</p><p> </p><p><form name="input" onSubmit="return reloadPage();"></p><p> </p><p><script type="text/javascript"></p><p> </p><p>function reloadPage() {
//alert("Reload time");
var temp = new String(location.href);
var targetURL = new String();
if(temp.indexOf("__overwrite=") != -1 ){
targetURL = temp.substring(0, temp.indexOf("&__overwrite") -1);
}else{
targetURL = temp;
}
targetURL += "&__overwrite=true&pName=<VALUE-OF>params["pName"]</VALUE-OF>";
//alert( targetURL );
location.replace(targetURL);
return false;
}</p><p> </p><p>timer=setTimeout('reloadPage()', 5000);</p><p> </p><p></script></p><p> </p><p></form></p><p> </p><p>Thanks in advance</p>