Opened 10 years ago
Closed 9 years ago
#13672 closed defect (worksforme)
Dojox.mobile.parser 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: |
Description
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 dojox.mobile.parser, 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
comment:2 Changed 10 years ago by
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 dojox.mobile.parser. Could you give me a small sample code so that I can reproduce the problem?
comment:3 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Please reopen this if you still have the problem.
Note: See
TracTickets for help on using
tickets.
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.