from your code, you are adding ta both times to the container rather than ta1 
and ta2


________________________________
 From: Derrell Lipman <derrell.lip...@unwireduniverse.com>
To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net> 
Sent: Monday, January 9, 2012 11:10 AM
Subject: Re: [qooxdoo-devel] leaking class or what is wrong?
 

http://manual.qooxdoo.org/1.6/pages/core/classes.html?highlight=member%20reference%20type#primitive-types-vs-reference-types


On Mon, Jan 9, 2012 at 14:05, smisonli...@googlemail.com 
<smisonli...@googlemail.com> wrote:

i crate two instance of the same class like
>
>var ta1 = new makebiz.modules.communicator.DAteTodo();
>container.add(ta.getBaseLayout(), {edge:"center"});
>
>var ta2 = new makebiz.modules.communicator.DAteTodo();
>container.add(ta.getBaseLayout(), {edge:"center"});
>
>
>i use some member vars inside
>
>qx.Class.define("makebiz.modules.communicator.TermineAufgaben", {
>        extend: qx.core.Object,
>        content: "",
>
>        members :{
>            table                : [],
>            main : function() {
>                this.base(arguments);
>                },
>
>
>now i add some tables to this table array. but when i call table[1]
>
>odr something  like this, i get in both classes the table of  the frst
>instance created.
>
>What can this be?
>
>
>Thank you
>
>
>------------------------------------------------------------------------------
>Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>infrastructure or vast IT resources to deliver seamless, secure access to
>virtual desktops. With this all-in-one solution, easily deploy virtual
>desktops for less than the cost of PCs and save 60% on VDI infrastructure
>costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>_______________________________________________
>qooxdoo-devel mailing list
>qooxdoo-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to