Resending with testcase renamed to bypass stupid filter...

---------- Forwarded message ----------
From: Gaetan de Menten <[EMAIL PROTECTED]>
Date: Tue, Oct 7, 2008 at 5:50 PM
Subject: Class instances in statics not supported in 0.8?
To: qooxdoo Development <[email protected]>


Are class instances in statics not supported in 0.8 anymore?

qx.locale.Manager is undefined    DateFormat.js (line 47)
   this.__locale = qx.locale.Manager.getInstance().getLocale();

See attached test script (which worked fine in 0.7).

PS: Since I don't know whether this is a bug or simply a pattern which
is not supported anymore, I'm posting here and not in the bugtracker
directly.

-- 
Gaƫtan de Menten
http://openhex.org
qx.Class.define("testqx.Application",
{
  extend : qx.application.Standalone,

  statics: {
    ISO_8601_FORMAT: new qx.util.format.DateFormat("yyyy-MM-dd")
  },

  members :
  {
    main : function()
    {
      this.base(arguments);

//      var date_format = new qx.util.format.DateFormat("yyyy-MM-dd");
      var date_format = this.self(arguments).ISO_8601_FORMAT;

      this.getRoot().add(new qx.ui.form.Button("Button"), {left: 100, top: 50});
    }
  }
});
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to