struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon.Ridgway" <Jon.Ridg...@upco.co.uk>
Subject RE: Child Window
Date Mon, 09 Sep 2002 09:21:25 GMT
Hi Andrew,

You would submit to a 'target' of parent ie 

<html:submit action"anAction" target="_parent">

As to the effect, I have no idea as I've never tried it, should work though,
perhaps someone with experience of frames, popups etc could let us know?

Jon Ridgway


-----Original Message-----
From: Andrew Hill [mailto:andrew.david.hill@gridnode.com] 
Sent: 09 September 2002 10:12
To: Struts Users Mailing List
Subject: RE: Child Window

Oh cool. I never knew you could submit to _parent. Whats the actual effect
of doing so?

-----Original Message-----
From: Jon.Ridgway [mailto:Jon.Ridgway@upco.co.uk]
Sent: Monday, September 09, 2002 17:07
To: 'Struts Users Mailing List'
Subject: RE: Child Window


Hi Divakar,

There are three (possibly more options) that I know of:

- The pure Struts approach. Use an <html:link forward="<struts-config
forward> target="_blank"/>. Then in your popup have it submit to a target of
"_parent".

- JavaScript window.open (<popup>). Again have the popup submit to a target
of "_parent".
_ JavaScript (IE only) window.showModalDialog (<popup>). Again have the
popup submit to a target of "_parent".

You could also use DHTML but I'm not sure how to do this.

Jon Ridgway


-----Original Message-----
From: Divakar Satyanarayan [mailto:DivakarS@mascotsystems.com]
Sent: 09 September 2002 07:37
To: 'Struts Users Mailing List'
Subject: Child Window

Hi ,

 An actor clicks on a button that opens a screen which accepts the input
from ths user. The screen needs to be opened in a new window After the user
enters the details the window has to be closed & the focus brought back to
the parent window.

 How can we implement the above scenario using a STRUTS architecture ?

Thanks & Regards,
Divakar


DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at Mailadmin@mascotsystems.com Before opening attachments,
please scan for viruses.



--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


The contents of this email are intended only for the named addressees and
may contain confidential and/or privileged material. If received in error
please contact UPCO on +44 (0) 113 201 0600 and then delete the entire
e-mail from your system. Unauthorised review, distribution, disclosure or
other use of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


The contents of this email are intended only for the named addressees and
may contain confidential and/or privileged material. If received in error
please contact UPCO on +44 (0) 113 201 0600 and then delete the entire
e-mail from your system. Unauthorised review, distribution, disclosure or
other use of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated. 

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message