2010
02.24
02.24
Here is something that I keep forgetting all the time.
Lifecycle methodstartup()
is called for widgets in template, but not for your programmatically created widgets. So for them, you have to call it manually after creating the widget.