#8716 closed defect (fixed)
[dojox.form] MultiComboBox fails to start
Reported by: | dante | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | DojoX Form | Version: | 1.3.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
An error:
[Exception... "'Error: dojox.form.MultiComboBox template:nameAttrSetting' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
Looks like the name attribute in the template is causing issues?
Change History (5)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Oh nevermind.... it's this weird architecture with ComboBoxMixin where the parent class is required to have it's own postMixInProperties call, like this:
postMixInProperties: function(){ // this.inherited(arguments); // ?? dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this, arguments); dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this, arguments); },
I think this is a holdover from before we understood how this.inherited() worked, ie that it called all the superclass and mixin functions.
comment:3 Changed 12 years ago by
Owner: | changed from Nathan Toone to Douglas Hays |
---|---|
Status: | new → assigned |
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [16775]) Fixes #8716. Changed ComboBox? and FilteringSelect? to make use of this.inherited.
comment:5 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
That gets set in postMixInProperties() in dijit... maybe you are missing a this.inherited() call?