Gday Mel,

Maybe try adding an onsubmit function to the form in the popup that 
calls a function in the parent?

Something like:

<form onsubmit="window.parent.updateSomething($F('textAreaID'))">

and on the parent:

function updateSomething(newText) {
    Element.update('divToUpdate', newText);
}

I dont know what the stripes framework is, but this might point you in 
the right direction.

Goodluck,

Keith

mel 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.
>
>
> >
>   


-- 
MindVision Interactive

Ph: (08) 8212 9544
Fax: (08) 8212 9644

E-Mail: [EMAIL PROTECTED]
Web: www.mindvision.com.au


--~--~---------~--~----~------------~-------~--~----~
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