Other solutions would be:

- Give the modal window a callback (pointer to a function defined in the
   parent that uses its arguments to do whatever has to be done to the
   parent).

- Define and call an event in the model window and have a listener for this
   event in the parent.

- Use the message bus.

I would recommend the first one, as it seems a bit less magic to me.

Cheers,
Fritz

On Wed, 4 May 2011, Benjamin Turner wrote:

> Hello,
>
> I'm sort of stuck.  I'm creating a modal window from another window.  Inside
> this modal window, it will have say a text box where you can input the
> string.  After they click "OK" on this modal window with the string, I want
> it to modify the parent window that it was created from.  How can I do this?
>
> I looked in the demo browser but can't really find an example of what I'm
> trying to do.
>
> Thanks.
>
> Regards,
>
> Benjamin P. L. Turner
> [email protected]
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to