#2821 closed task (fixed)
support widgetsInTemplate (nested widgets in a template)
Reported by: | bill | Owned by: | liucougar |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | Widgets | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Allow widget templates to have dojoType="..." which create widgets recursively. I guess this would be a mixin that extends TemplatedWidget?, maybe called TemplatedSuperWidget? :-)
Prerequisite for porting editor.
This was a 0.4 feature but has to be rewritten to work in dijit.
Attachments (4)
Change History (10)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
Changed 15 years ago by
Attachment: | 2821_test.patch added |
---|
unit test package for dijit which includes widgetsInTemplate test
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changed 15 years ago by
Attachment: | 2821-general-dijit-breakage.patch added |
---|
fixes repercussion of event changes in dijit
comment:3 Changed 15 years ago by
Note: See
TracTickets for help on using
tickets.
the attached patch adds this feature to dijit.base.TemplatedWidget?, as there are only 10 lines in the code to handle widgetsInTemplate, so I did not make it into another mixin on top of TemplatedWidget?
now dijit.util.parser is always required in TemplatedWidget?. this is not ideal, need to find a way to load this optionally