Opened 13 years ago

Closed 12 years ago

#2260 closed defect (fixed)

_createSubWidgets on ContentPane should care for attach events and attach points

Reported by: joao.paulo.barbosa@… Owned by: bill
Priority: high Milestone:
Component: General Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

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>
    </div>

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

Change History (2)

comment:1 Changed 13 years ago by joao.paulo.barbosa@…

sub widgets are created twice if widgetsInTemplate is true

comment:2 Changed 12 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.