Opened 15 years ago

Closed 15 years ago

#2362 closed enhancement (invalid)

Allow very specify module/widget path registrations

Reported by: James Burke Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:


We should allow very narrow module path registrations so that it would be possible to specify a path to one particular module or widget. I think dojo.registerModulePath and the module loader will do the right thing, but I think some of the widget stuff might not work out, in particular, the namespace resolution and the template path resolution.

For example, suppose I create a widget that has the following structure:


It should be possible to do a dojo.registerModulePath("", "../foo/bar/BlueWidget"), and have everything work out.

One thing I'm not clear on is what the the namespace is in this case. How would I declare the widget in markup?

For the script case, it seems like I can do dojo.widget.createWidget(""...).

Apologies if I'm just misunderstanding the widget namespace and template loading.

Change History (1)

comment:1 Changed 15 years ago by Adam Peller

Resolution: invalid
Status: newclosed

I think this all goes away in 0.9

Note: See TracTickets for help on using tickets.