Opened 10 years ago

Closed 10 years ago

#13672 closed defect (worksforme) bugs out if dijit._Templated is required.

Reported by: tingdc Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.0b1
Keywords: dojox mobile, Cc:
Blocked By: Blocking:


It tries to reparse the whole page leading to a whole bunch of "tried to register widget with id='bla'".

This doesn't happen if I require dojo.parser instead of, but I'd really rather not have to include the full parser for mobile applications.

Change History (3)

comment:1 Changed 10 years ago by bill

FYI, this is why _Templated was split into _TemplatedMixin and _WidgetsInTemplateMixin, although of course you'll hit the same problem if you load both of those classes. Maybe we need a parser selector framework like dojo/query has.

comment:2 Changed 10 years ago by ykami

I tried to reproduce the problem by creating a small widget that uses _Templated and has another widget in its template, but it worked with Could you give me a small sample code so that I can reproduce the problem?

comment:3 Changed 10 years ago by ykami

Milestone: tbd1.8
Resolution: worksforme
Status: newclosed

Please reopen this if you still have the problem.

Note: See TracTickets for help on using tickets.