Simon Thank you for the suggestion. I now have a workaround using a hidden form.
M@ -----Original Message----- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 5:07 PM To: MyFaces Discussion Subject: Re: Automatic page refresh Cormier, Matthieu wrote: > Hello all, > > I have a jsf page that opens up a popup window. When the popup window > is closed I need to refresh the page automatically. I can do this > using javascript, however a confirm dialogue appears to the user with > the following message: > > "The page you are trying to view contains POSTDATA. If you resend the > data, any action the form carried out (such as a search or online > purchase) will be repeated. To resend the data, click OK. Otherwise, > click Cancel" > > I get the same warning dialogue if I manually refresh a page, whether > there is no form on the page or not. Is there any way around this? That message is from IE. So I presume that when you say "refresh the page" you are using script that invokes the browser's refresh button? I would recommend instead using the script to click a hidden submit button in the page....

