Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 11 years ago by bill

That gets set in postMixInProperties() in dijit... maybe you are missing a this.inherited() call?

comment:2 Changed 11 years ago by bill

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 11 years ago by Douglas Hays

Owner: changed from Nathan Toone to Douglas Hays
Status: newassigned

comment:4 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [16775]) Fixes #8716. Changed ComboBox? and FilteringSelect? to make use of this.inherited.

comment:5 Changed 11 years ago by bill

(In [16783]) Just fixing some comments related to [16775], refs #8716.

Note: See TracTickets for help on using tickets.