You don't need any library to do that. When your popup window
refreshes, send something like this :

<html>
<head>
</head>
<body onload="doLoad();">
<script type="text/javascript">
  if ( window.opener ) {
    window.opener.refresh();
  }
  window.close();
</script>
</body>
</html>


That will refresh the parent window (if there's one), then close
itself.

-yanick


On 1 mai, 10:14, mel <[EMAIL PROTECTED]> wrote:
> I am using the stripes framework and I'm stuck on a problem that I'm
> hoping prototype can resolve.
>
> In a parent window I use javascript to open up a second window pop-up
> that contains a textarea and a submit button.  When I click on the
> submit button I execute a stripes actionBean that updates the database
> and closes the pop-up window.
>
> The parent window is still up and I am wondering how to get the parent
> window that is already active updated.  Can Ajax.Updater help with
> that?
>
> I've tried a suggestion of having a floating div with a textarea but
> have not been able to make that work.
>
> Any suggestions or direction would be appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to