no. i dont want to make a axplecit ne instance. i define the var as
static and i an access it:)
> 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 ?
>>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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