Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1133 closed enhancement (fixed)

namespace widget autoloading doesn't work for createWidget

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

Description

The namespace feature allows for widgets declared within markup to autoload without having to call dojo.require("dojo.widget.[name]"); first.

The same feature should also work for dojo.widget.createWidget() so that programmatic creation also autoloads widgets.

Attachments (1)

test_myns_dynamic.html (709 bytes) - added by morris 13 years ago.
Example of issue - needs to be put in dojo/tests/namespaces

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by bill

Owner: changed from adam to Adam Peller

Fixing assign-to (adam uses his last name in the bug database)

Changed 13 years ago by morris

Attachment: test_myns_dynamic.html added

Example of issue - needs to be put in dojo/tests/namespaces

comment:2 Changed 13 years ago by Adam Peller

works now that namespace code was scrubbed some more. Not sure exactly how it got fixed :)

checked in the test. Thanks, Morris!

comment:3 Changed 13 years ago by Adam Peller

Resolution: fixed
Status: newclosed

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.