Auto Refresh JSF Page with Timer
843844Dec 9 2007 — edited Dec 10 2007Hi Guys,
I have some javascript code that refreshes my JSF page every 5 seconds. Problem is, that if I put additional control on my jsf page, like a button, and click the button, then the following message appears:
"To display the webpage again, Internet Exploere needs to resend the information you've previously submitted..."
I believe that this is happening because of the post page submission. How can I get rid of this message? Actually, one of the ways to get rid of this message is to call window.location.reload(); javascript, but that would involve me attaching code to every button in the application. I don't have too many buttons, but it would be a bummer to do this. Any other solutions?
Thank you all.