Re: [qooxdoo-devel] Global?
Brought to you by:
ecker,
martinwittemann
From: Stefan V. <vo...@li...> - 2010-01-30 23:18:01
|
Hi Stefan, if I paste this into playground: ---- qx.Class.define("mb.system.Globals", { extend: qx.core.Object, members : { processorURL : "../../index.php", containerMain : null, containerTop : null, containerMiddle : null, containerBottom : null, classSystemModules : null } }); var t = new mb.system.Globals(); alert(t.processorURL); ---- it does alert the String "../../index.php" as intended. Seems like you're doing something wrong. Greetings, Stefan too On 30.01.2010 22:30, Stefan Meyer wrote: > Hello, > > i create a new class for using globals > > > qx.Class.define("mb.system.Globals", { > extend: qx.core.Object, > members : > { > processorURL : "../../index.php", > containerMain : null, > containerTop : null, > containerMiddle : null, > containerBottom : null, > classSystemModules : null > } > }); > > But i cabt access the first predefined value:( Always get undefined. How > can i set predefined values ? |