Re: How to implement close button in Struts?

2003-09-23 Thread Thomas Cornet
Something like this should work... html:button onclick=window.close(); caption /html:button Thomas At 22:57 23/09/2003, you wrote: Hi, I have a close button on a page, once user clicks on this button, the window should disappear. How to do this in Struts? regards

RE: How to implement close button in Struts?

2003-09-23 Thread Nicholson, Robb
There might be a better way, but this is how I do it: html:button property=close value=Close Window onclick=window.close()/ -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:57 PM To: [EMAIL PROTECTED] Subject: How to implement close button

RE: How to implement close button in Struts?

2003-09-23 Thread Chen, Gin
Do it using Javascript instead. button onclick=window.close() Close /button Server's cant send a message to the client to close a browser window. Another way is to send a response of that javascript or redirect to another window that has that in a javascript head. -Tim -Original

RE: How to implement close button in Struts?

2003-09-23 Thread Rick Col
Thanks, guys. You are a lot of help. --- Chen, Gin [EMAIL PROTECTED] wrote: Do it using Javascript instead. button onclick=window.close() Close /button Server's cant send a message to the client to close a browser window. Another way is to send a response of that javascript or