roensch.IT Posted December 4, 2007 Share Posted December 4, 2007 Hi! How can I refresh a report automatically (every 10 seconds)? Thanks for help! Link to comment Share on other sites More sharing options...
andysusanto Posted December 6, 2007 Share Posted December 6, 2007 hai, you can combine with a javascript to refresh the report Link to comment Share on other sites More sharing options...
roensch.IT Posted December 6, 2007 Author Share Posted December 6, 2007 Thanks, that is a good idea! But, how I can integrate javascript into the report?Post edited by: roensch.IT, at: 2007/12/06 12:02 Link to comment Share on other sites More sharing options...
nitin403 Posted December 6, 2007 Share Posted December 6, 2007 Hi!Even I would like to know how to add such javascript to a HTML report. Link to comment Share on other sites More sharing options...
martynhiemstra Posted December 6, 2007 Share Posted December 6, 2007 You can't! Plain and simple. If you understood report genertaing or understood jasperreports even a small bit you would understand that this is impossible. If you want to refresh your report, do it yourself. There is no option in the report simply because it has no idea what the url is of the page that generated it. Besides, redirects must take place in the header tag of your html code. So it has nothing to do with your report but how you build your website. Link to comment Share on other sites More sharing options...
nitin403 Posted December 6, 2007 Share Posted December 6, 2007 Hi! allI think martynhiemstra is correct.But u can create 2 frames.1st will have your report & 2nd will refresh your report 10sec of loading the 1st frame. 2nd frame will be invisible off course. But surely even I would have liked if I could add some javascript to it. Link to comment Share on other sites More sharing options...
federico.cattozzi Posted December 22, 2009 Share Posted December 22, 2009 I have scheduled a report on JS to run every 1 minute, output format is HTML and I have permitted overwriting.Url of the report output file doesn't change, so I could insert this meta in HTML:<meta http-equiv="refresh" content="5">There is a way to do this?Thank you.Post Edited by helyair at 12/22/2009 14:35 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now