I was going on the basis of only a single browser window being open. The one window shows the initial form, then the search, then back to the original form.
-----Original Message----- From: Amit Kirdatt [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 15:58 To: 'Struts Users Mailing List' Subject: RE: clicking a hyperlink to populate a field The parent window would have to be refreshed though for the selected value to show up on the parent form On how to do this here is a link http://forums.devshed.com/archive/1/2002/11/2/46942 I am sure there are other resources....google it! -----Original Message----- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 9:54 AM To: 'Struts Users Mailing List' Subject: RE: clicking a hyperlink to populate a field This is possible. Put the original form into Session scope so that you don't lose the data the user enters prior to using the 'Find School' button. Each match could be a hyperlink to a UseSchoolAction, passing the ID of the school to use as a parameter. The UseSchoolAction could then set the relevant details for the chosen school on the original form. Comments? Paul -----Original Message----- From: yan [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 15:41 To: [EMAIL PROTECTED] Subject: clicking a hyperlink to populate a field Hi all, This is what I want to do: A user will enter part of a school name in one field on an ActionForm and part of a school address on in another field on the same form. The user then clicks on a "find school" button which opens a new page and lists a collection of matching candidate schools by doing an SQL SELECT query based on what the user has entered on the previous ActionForm. I want the school name to be a hyperlink so that the user clicks on the matching school name in order to populate the school name and address fields on the previous ActionForm. I want to know if this is possible in Struts, is there a Tag that will allow me to do this? Thanks in advance yan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- 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]