Ticket #7766 (closed defect: fixed)

Opened 3 months ago

Last modified 6 weeks ago

dojox.dtl HtmlTemplated - widgetsInTemplate broken

Reported by: siliconerror Owned by: pottedmeat
Priority: normal Milestone: tbd
Component: Dojox Version: 1.2beta
Severity: normal Keywords:
Cc: rcoup

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

7766_dijit_dtl.diff (3.3 kB) - added by rcoup 3 months ago.
Draft fix
7766_dijit_dtl.2.diff (0.6 kB) - added by rcoup 3 months ago.
Remove irrelevant dijit issue (use dojoType="dijit.Xyz parsed")

Change History

Changed 3 months ago by dante

  • owner changed from peller to pottedmeat

Changed 3 months ago by dante

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

Changed 3 months ago by rcoup

  • cc rcoup added

Changed 3 months ago by rcoup

Draft fix

Changed 3 months ago by rcoup

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

Changed 6 weeks ago by rcoup

  • status changed from new to closed
  • resolution set to fixed

Fixed in [15809]

Note: See TracTickets for help on using tickets.