Opened 15 years ago

Closed 15 years ago

#2260 closed defect (fixed)

_createSubWidgets on ContentPane should care for attach events and attach points

Reported by: [email protected] Owned by: bill
Priority: high Milestone:
Component: General Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:


When using lazy creation of costum widgets (with widgetsInTemplate: true) the attach events/points aren't processed.

for example this template part:

    <div dojoAttachPoint="dialogNewIndicator" dojoType="dojo:Dialog" bgColor="white" bgOpacity="0.75" style="display: none">
        <div dojoType="mapper:NewIndicator" dojoAttachEvent="onCancel: cancelNewIndicator; onCreateIndicator: onCreateIndicator"></div>

the event onCancel in mapper:NewIndicator is invoked but not cancelNewIndicator on the current widget.

Change History (2)

comment:1 Changed 15 years ago by [email protected]

sub widgets are created twice if widgetsInTemplate is true

comment:2 Changed 15 years ago by bill

Resolution: fixed
Status: newclosed

(In [7109]) Rollback deferred creation of subwidgets (at least temporarily). It causes various problems and will probably conflict with the new parser code for finding subwidgets. Fixes #2260.

Note: See TracTickets for help on using tickets.