#7766 closed defect (fixed)
dojox.dtl HtmlTemplated - widgetsInTemplate broken
Reported by: | siliconerror | Owned by: | Neil Roberts |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dojox | Version: | 1.2beta |
Keywords: | Cc: | Robert Coup | |
Blocked By: | Blocking: |
Description
It seems that the htmlTemplated module is broken.
When I download the 1.2RC and run the test (dojox/dtl/demos/demo_HtmlTemplated.html) I get the same error I got when I was trying to build my own widget: 'token.contents is undefined'. The current nightly online is also broken: http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/dtl/demos/demo_HtmlTemplated.html
It seems to stop parsing when it encounters a dojoType attribute referring to a Dijit. The token variable contains the name of the Dijit (a string) and has no 'contents' property.
Attachments (2)
Change History (7)
comment:1 Changed 11 years ago by
Owner: | changed from Adam Peller to Neil Roberts |
---|
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Cc: | Robert Coup added |
---|
Changed 11 years ago by
Attachment: | 7766_dijit_dtl.2.diff added |
---|
Remove irrelevant dijit issue (use dojoType="dijit.Xyz parsed")
comment:5 Changed 11 years ago by
Milestone: | tbd → 1.3 |
---|
batch move of tickets marked 'tbd' fixed in the 1.3 timeframe
fwiw: I tried adding _dijitTemplateCompat: true, and received a different error, but don't know enough about dtl to comment further.