Hi,

I'm not sure because I don't understand the German names, but why not simply 
add an attribute in your custom class ?
That attribute would be mandatory in the constructor and could reference the 
parent.
From the parent (this is often the parent who instanciate child) this could 
look like :
parent constructor : {
        mychild = new MyWindow(this);
        someContainer.add(mychild);
}


However, I have to add that very often, it is bad practice and not needed for a 
child to see its parent.
Why not use an event ?
What exactly do you want to do and why do you think you need to see the parent 
from the child ?

JBB.

On 23 oct. 2010, at 18:44, [email protected] wrote:

> Hello,
> 
> i open a new class 
> 
> this.window = new myapp.modules.kundenverwaltung.NewRufnummerWindow();
>                       
> this.window.getWindow(this,0,this.KDID,this.widgets["firma"].getValue(),this.widgets["nachname"].getValue(),this.widgets["vorname"].getValue());
>             
> How can i access the parent without use the parameter this in this example?
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to