FYI..  I had a need for something similar to this in the past and later
the same popup page ended up needing to allow handling of user
errors/validation errors.  What I ended up doing was submitting within
the popup instead of directly to the parent as below.  This allows you
to be able to handle validation errors while still in the parent.  The
"success" path can be a separate page that contains the javascript which
closes the popup and loads the parent into the appropriate forward.

You may want to do this up front if you foresee a need for this now.  

Hope it helps.

Regards...djsuarez 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 9:56 AM
To: user@struts.apache.org
Subject: Re: Popup window submitting to action

reload()... cool, didn't see that in my reference book.  Everyone learns
something new every day! :)

(sure seemed like something that would be there, glad to know I just
missed it)

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Thu, January 27, 2005 10:54 am, Brandon Mercer said:
> Cedric Levieux wrote:
> 
>>Here what you want in the page retrieved after the submit action and
>> reached
>>via this action :
>>
>><html>
>>
>><head>
>>
>></head>
>>
>><body>
>>
>><script language="JavaScript">
>>
>><!--
>>
>>window.opener.location.reload();
>>
>>window.close();
>>
>>// -->
>>
>></script>
>>
>>
>>
> Thanks, it works BEAUTIFULLY!!!! :-D
> Brandon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



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

Reply via email to