Opened 11 years ago

Closed 11 years ago

#8755 closed enhancement (fixed)

[patch][cla]dojo.parser.instantiate flag for not starting widgets

Reported by: Nathan Toone Owned by: Nathan Toone
Priority: lowest Milestone: 1.4
Component: Parser Version: 1.3.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

Sometimes, it is nice to be able to call dojo.parser.instantiate, but you don't necessarily want the widget's startup() function called. This can be done, quite easily, by keying off of whether or not a "_started" parameter exists in the mixin (since that parameter won't actually be passed in to the widget - but that's the value the widget keys off of).

A patch follows.

Attachments (1)

parserPatch.patch (836 bytes) - added by Nathan Toone 11 years ago.
Patch which adds in this functionality to the parser.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Nathan Toone

Attachment: parserPatch.patch added

Patch which adds in this functionality to the parser.

comment:1 Changed 11 years ago by Nathan Toone

Milestone: future1.4
Summary: dojo.parser.instantiate flag for not starting widgets[patch][cla]dojo.parser.instantiate flag for not starting widgets

comment:2 Changed 11 years ago by Nathan Toone

Milestone: 1.41.3.1

Fixed in trunk in [17189] - changing milestone for consideration for inclusion in branch.

comment:3 Changed 11 years ago by Nathan Toone

Milestone: 1.3.11.4
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.