Hello,
I think you can solve this case by having only one constructor (the 2nd one)
with all possible arguments you may need.
and then if you want to pass only one arg, this will be ok but other
arguments will stay null.
constructor(id, arg1, arg2, ..., argn){
 if (arg1) setProp1(arg1);
 if (arg2) setProp2(arg2);
 
}

I can call it with (id) only then arg1....argn will have null value.

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Two-or-more-constructors-tp7219626p7239623.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to