Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Auto Refresh JSF Page with Timer

843844Dec 9 2007 — edited Dec 10 2007
Hi 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2008
Added on Dec 9 2007
9 comments
1,055 views