RE: [Question] : Close popup after Action has exited...

2003-10-01 Thread Andrew Hill
I do this by having the action forward to some html page with a little
javascript that closes the window.

-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2003 18:38
To: Struts Users Mailing List
Subject: [Question] : Close popup after Action has exited...


Hi,
Does somebody know how I can close a popup window for which I have
ActionForms and Action when some method in the action has performed its
job ( exited )?
Thanks


-
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]



Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread khote
in your form  onSubmit=self.close();

or document.window.close() or try variations on that.  Sometimes the browser
will complain about, I'm not sure which one gets you past that.


- Original Message - 
From: Todor Sergueev Petkov [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:37 AM
Subject: [Question] : Close popup after Action has exited...


 Hi,
 Does somebody know how I can close a popup window for which I have
 ActionForms and Action when some method in the action has performed its
 job ( exited )?
 Thanks


 -
 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]



Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread Raphaël di Cicco
forward to a second page that self closes
BODY onload=javascript:window.close();

- Original Message - 
From: khote [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 12:38 PM
Subject: Re: [Question] : Close popup after Action has exited...


 in your form  onSubmit=self.close();

 or document.window.close() or try variations on that.  Sometimes the
browser
 will complain about, I'm not sure which one gets you past that.


 - Original Message - 
 From: Todor Sergueev Petkov [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, October 01, 2003 3:37 AM
 Subject: [Question] : Close popup after Action has exited...


  Hi,
  Does somebody know how I can close a popup window for which I have
  ActionForms and Action when some method in the action has performed its
  job ( exited )?
  Thanks
 
 
  -
  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]


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



Re: [Question] : Close popup after Action has exited... -- SOLVED

2003-10-01 Thread Todor Sergueev Petkov
Thanks a lot - the redirect to a page and onload=window.close() works 
very well..

Raphaël di Cicco wrote:
forward to a second page that self closes
BODY onload=javascript:window.close();
- Original Message - 
From: khote [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 12:38 PM
Subject: Re: [Question] : Close popup after Action has exited...



in your form  onSubmit=self.close();

or document.window.close() or try variations on that.  Sometimes the
browser

will complain about, I'm not sure which one gets you past that.

- Original Message - 
From: Todor Sergueev Petkov [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:37 AM
Subject: [Question] : Close popup after Action has exited...



Hi,
Does somebody know how I can close a popup window for which I have
ActionForms and Action when some method in the action has performed its
job ( exited )?
Thanks
-
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]


-
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]