[EMAIL PROTECTED] wrote:

There's probably a couple of ways to do this, here's one...

I think you can handle the submitting on the popup and closing the window no 
problem, but before you do the close, call a Javascript function in the parent 
of the popup that will submit a form to do the refresh of the main page.  
That's it, simple.

That might actually be the simplest answer.


Thanks guys! I realize this is not a struts thing :-) but since struts is a web application toolkit that promotes best practices I figured someone on here would be able to provide me with a clean solution. :-) Here's what I've come up with... except I don't know how to do the form that refreshes me main page.

The form submits... <action="/addcontact"...>
returns success page in that window.  The success page has a:

<script language="javascript">
   function refreshForm() {
        opener....... (I DUNNO WHAT TO DO HERE)
         window.close();
    }
</script>
<body onload="refreshForm()">

Thanks for the help :-P Brandon

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



Reply via email to