A newbie question on inheritance.
I wish to define several FilteringSelect objects. Those various objects differ only in their store and their prompt message. In order not to repeat myself, I am therefore tempted to declare a new class: MyFilteringSelect, which would predefine all the other parameters. Something like this:
var constructorMyFilteringSelect = function(params, srcNodeRef) {
this.autoComplete = false;
this.hasDownArrow = false;
this.labelAttr = "name";
this.queryExpr = "${0}*";
this.searchDelay = 0;
}
