Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1305 closed defect (fixed)

ComboBox broken in revision 5303

Reported by: guest Owned by: Adam Peller
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: ComboBox Cc:
Blocked By: Blocking:

Description

Hello!

I just can't get the ComboBox? to work. I'm testing the test_ComboBox.html and it just looks like a regular select box. I'm running the latest FireFox? on Linux. Here are some of the warnings I get when loading the test page:

DEBUG: failed loading ../../src/html/csshack.js with error: [SyntaxError: XML tag name mismatch, file: https://192.168.1.2/dojo/src/bootstrap1.js, line: 283] DEBUG: DEPRECATED: dojo.html replaced by dojo.html.* -- will be removed in version: 0.5 DEBUG: failed loading ../../src/package.js with error: [SyntaxError: XML tag name mismatch, file: https://192.168.1.2/dojo/src/bootstrap1.js, line: 283] DEBUG: failed loading ../../src.js with error: [SyntaxError: XML tag name mismatch, file: https://192.168.1.2/dojo/src/bootstrap1.js, line: 283] FATAL: Could not load 'dojo.html.csshack'; last tried 'package.js' DEBUG: failed loading ../../src/widget/ComboBox.js with error: [Error: Could not load 'dojo.html.csshack'; last tried '__package__.js', file: https://192.168.1.2/dojo/src/bootstrap1.js, line: 249] DEBUG: DEPRECATED: dojo.widget.Parse.createComponents Widget not defined for namespacedojo, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: DEPRECATED: dojo.findNamespaceForWidget Widget [combobox] not defined for a namespace, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: no tag handler registered for type: dojo:combobox DEBUG: DEPRECATED: dojo.widget.Parse.createComponents Widget not defined for namespacedojo, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: DEPRECATED: dojo.findNamespaceForWidget Widget [combobox] not defined for a namespace, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: no tag handler registered for type: dojo:combobox DEBUG: DEPRECATED: dojo.widget.Parse.createComponents Widget not defined for namespacedojo, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: DEPRECATED: dojo.findNamespaceForWidget Widget [combobox] not defined for a namespace, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: no tag handler registered for type: dojo:combobox DEBUG: DEPRECATED: dojo.widget.Parse.createComponents Widget not defined for namespacedojo, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: DEPRECATED: dojo.findNamespaceForWidget Widget [combobox] not defined for a namespace, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: no tag handler registered for type: dojo:combobox DEBUG: DEPRECATED: dojo.widget.Parse.createComponents Widget not defined for namespacedojo, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: DEPRECATED: dojo.findNamespaceForWidget Widget [combobox] not defined for a namespace, so searching all namespaces. Developers should specify namespaces for all non-Dojo widgets -- will be removed in version: 0.5 DEBUG: no tag handler registered for type: dojo:combobox

Change History (4)

comment:1 Changed 13 years ago by guest

It seems like something happened between versions 5220 and 5221 which causes the ComboBox? to not work. Here's what changed between those two versions:

~/tmp/trunk_5220$ svn up -r5221 
U    src/widget/ComboBox.js
U    src/widget/templates/ComboBox.html
U    src/widget/templates/ComboBox.css

comment:2 Changed 13 years ago by dylan

Component: GeneralWidgets
Milestone: 0.4
Owner: changed from anonymous to Adam Peller

The API changed... this can be assigned to peller I think :)

comment:3 Changed 13 years ago by Adam Peller

Resolution: fixed
Status: newclosed

The namespace stuff is a redherring; the real problem is that the combobox widget has an error in it (can't find dojo.html.csshack) so it tries to load using the old custom namespaces mechanism (had to spit out a deprecation warning there? I don't think we had a choice)

src/html/csshack.js does not show up in my build tree, even though it's in svn, so I assume this is something Bill checked in by accident -- I'm fixing this because I know Bill is travelling, but I'll run it by him in case this is not the correct solution.

See r5317. Sorry, I forgot to put this ticket in the checkin comments.

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.