Opened 15 years ago

Closed 15 years ago

#2603 closed defect (fixed)

HTML inside a Widget is not copied to containerNode when using namespaces other than dojo

Reported by: guest Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.4.1
Keywords: widget namespace DOM containerNode Cc:
Blocked By: Blocking:


We tested this with the Memo example to be absolutely sure.

If we create the Memo within the default dojo namespace it works fine.

As soon as we move it to our own namespace, which is otherwise working fine, the "same" widget places its inner HTML just outside its own HTML.

A test case can be provided.



(t dot weber at torweg dot org)

Attachments (1) (5.8 KB) - added by guest 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by guest

Attachment: added

comment:1 Changed 15 years ago by alex


comment:2 Changed 15 years ago by Adam Peller

Component: GeneralDijit
Owner: changed from anonymous to bill

comment:3 Changed 15 years ago by bill

Resolution: fixed
Status: newclosed

I don't think this is an issue with dijit anymore, but also looking at your testcase I see some strange things.

  1. dojo/pulse/pulse.js

You've put the pulse directory under dojo; at least for 0.9, your own code shouldn't be in the dojo/ directory; it should be a sibling to that dojo/ directory. For 0.4 there were issues w/builds etc. about whether or not the source was directly under dojo or under dojo/src so it's more complicated.

And also, that file has strange provides:


There should only be one provide() call, which matches the directory location of the file. Neither of these provide calls matches the directory location.

Anyway, try this against 0.9 and reopen if there's still an issue.

Note: See TracTickets for help on using tickets.