Hello,

I'm french so sorry for my english !

I would like to create a singleton class with parameters.

For example : general.Form1.getInstance(param1, param2);

In the constructor of Form1 i have :

        construct : function(param1, param2) {
                this.base(arguments, param1, param2);
        },

But param1 and param2 are already empty. 

How can i pass paramaters when i create or get my singleton ???

Thanks
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Singleton-getInstance-with-parameters-tp5892532p5892532.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to