Opened 12 years ago

Closed 12 years ago

#3157 closed defect (fixed)

instance-level widget property instantiation is b0rken

Reported by: alex Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: Cc: alex
Blocked By: Blocking:

Description

In previous versions, the widget lifecycle was externally driven, giving the class constructor for the widget time to initialize properties before property mixin happened. This no longer happens and the entire initialization phase of the lifecycle fires before the specific class constructor is run. This seems very b0rken.

At a minimum, we either need some over-loadable method in the dijit.base.Widget class that's called *before* property mixin happens or the inheritance system needs to get adjusted or allow the specific class ctor to run first.

Change History (2)

comment:1 Changed 12 years ago by alex

Summary: widget property instantiation is totally b0rkeninstance-level widget property instantiation is b0rken

comment:2 Changed 12 years ago by alex

Resolution: fixed
Status: newclosed

seems use if Scott's new preamble() method fixes. Sorry for the false alarm.

Note: See TracTickets for help on using tickets.