struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "El Harouchi, Jaafar [IT]" <>
Subject RE: submitting back to opener page
Date Thu, 26 Jun 2003 06:52:17 GMT
If you want to submit the form in the original page, you can try javascript
If you need to first set some values from the child window:
	window.opener.document.forms[0].elements["field name"].value =
<value from child>

ps: Matt will probably correct me to forms[0]["field name"] above.

-----Original Message-----
From: Andrew Hill []
Sent: Thursday, June 26, 2003 2:22 AM
To: Struts Users Mailing List
Subject: RE: submitting back to opener page

My app had a similar requirement so what I did was have the popup submit
directly to the action and then the action returned a forward to a page
(displayed in the popup) that had javascript to invoke a refresh method in
the opener window and then to close its own (popup) window.
  -----Original Message-----
  From: Nagendra Kumar O V S []
  Sent: Thursday, 26 June 2003 14:13
  Subject: submitting back to opener page

        i have a jsp with a button which opens up a new pop-up window. when
i say submit on the pop-up window , i want to close the pop-up window and go
to the action class(do the needful) and now i want to refresh the opener
page(main jsp).
        can i do this, if yes how??
        any ideas...


        Nagendra Kumar O V S
        Member Technical Staff
        Ikigo India Private Ltd.
        470-B, Road No. 36,
        Jubilee Hills,
        Hyderabad 500033
        Contact(O): 23544671
        Cell: 98482-41789

    IncrediMail - Email has finally evolved - Click Here

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message