Hi all,
I have a problem with an interface using a static method. I get the
following error when I load the app in the browser:
"Invalid key "createInstanceFromSettings" in interface
"tt.settings.ISettingsHolder"! Static constants must be all uppercase." 

The interface I defined is as follows:

qx.Interface.define("tt.settings.ISettingsHolder", {

        members: {
                getSettings: function() {}
        },
        
        statics: {
                createInstanceFromSettings: function(settings) {}
        }
});

Looks absolutely correct in my eyes.... The error message doesn't make sense
since I haven't defined any constants. When I comment out the method
definition of createInstanceFromSettings the application is working fine.

Any ideas appreciated!

Marius

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Static-method-in-an-interface-tp5345507p5345507.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to