Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

7766_dijit_dtl.diff (3.3 KB) - added by Robert Coup 11 years ago.
Draft fix
7766_dijit_dtl.2.diff (622 bytes) - added by Robert Coup 11 years ago.
Remove irrelevant dijit issue (use dojoType="dijit.Xyz parsed")

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by dante

Owner: changed from Adam Peller to Neil Roberts

comment:2 Changed 11 years ago by dante

fwiw: I tried adding _dijitTemplateCompat: true, and received a different error, but don't know enough about dtl to comment further.

comment:3 Changed 11 years ago by Robert Coup

Cc: Robert Coup added

Changed 11 years ago by Robert Coup

Attachment: 7766_dijit_dtl.diff added

Draft fix

Changed 11 years ago by Robert Coup

Attachment: 7766_dijit_dtl.2.diff added

Remove irrelevant dijit issue (use dojoType="dijit.Xyz parsed")

comment:4 Changed 11 years ago by Robert Coup

Resolution: fixed
Status: newclosed

Fixed in [15809]

comment:5 Changed 11 years ago by Adam Peller

Milestone: tbd1.3

batch move of tickets marked 'tbd' fixed in the 1.3 timeframe

Note: See TracTickets for help on using tickets.