On Sun, Jan 31, 2010 at 03:49, Stefan Meyer <[email protected]> wrote:

> no. i dont want to make a axplecit ne instance. i define the var as
> static and i an access it:)
>

But you didn't define the vars as statics; you defined them as member
variables, so they are members of each INSTANCE of the class. If you do
define them as statics:

qx.Class.define("mb.system.
Globals", {
       extend: qx.core.Object,
       statics :
           {
           processorURL                : "../../index.php",
           containerMain                 : null,
           containerTop                 : null,
           containerMiddle             : null,
           containerBottom             : null,
           classSystemModules     : null
           }
        });

then you'll be able to alert("processorURL=" +
mb.system.Globals.processorURL),
i.e. access the static variable without instantiating the class.

Derrell
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to