Actually, because the parent window was displayed from a "POST"-ed form
(method="POST"), it is causing you this grief.

If you change the method to "GET" then you won't have this problem.

However, you may get unwanted results:
*The URL in the address bar becomes long (depending on the request)
*Some browsers have a limit to the length of a url string, consequently some
might be truncated

JM

> -----Original Message-----
> From: Leonardo Maciel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 5:42 PM
> To: Struts Users Mailing List
> Subject: RE: Auto-resending the information on refreshing
>
>
>
> Yes re-post it.
>
> The parent window opens a child window. Once you click OK on the
> child window it should refresh the parent and close itself.
>
> window.opener.history.go(0); self.close();
>
> But since the parent window is a struts .do I get the warning message.
>
>
> Thanks
> Leo
>
>
> -----Original Message-----
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 5:44 PM
> To: Struts Users Mailing List
> Subject: RE: Auto-resending the information on refreshing
>
>
> You are trying to re-post a page?
>
> Can you tell us a little more about what you are trying to do?
>
> JM
>
> > -----Original Message-----
> > From: Leonardo Maciel [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 10, 2002 5:34 PM
> > To: 'Struts Users Mailing List'
> > Subject: Auto-resending the information on refreshing
> >
> >
> >
> > I want to refresh the opener window. I don't know the opener
> window URL, I
> > use:
> > window.opener.history.go(0)
> >
> > Is there a way to auto-resending the info and NOT to show the warning
> > message?
> > "The page cannot be refreshed without resending the information.
> >  click retry to send the information again, or click Cancel to return
> >  to the page you try to view"
> >
> > Thanks
> > Leo
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to