Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1084 closed defect (fixed)

MenuSeparator2 broken when created with createWidget

Reported by: sgendler@… Owned by: anonymous
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

If I use createWidget instead of html markup, IU get an error in layoutItem because layoutItem references this.parent, which is apparently null when calling createWidget. Even if a provide a refNode in the call to createWidget(), I have this problem. I assume this is a problem because it is getting called from postCreate, but before it is added to the dom tree? I haven't really delved into the code for createWidget(). At any rate, I have had to make a subclass which doesn't access the parent there. I'd love to hear of a better solution. This is a 0.3.1 release, by the way. I haven't tested against the latest svn.

Change History (2)

comment:1 Changed 13 years ago by bill

Component: GeneralWidgets
Milestone: 0.4
Resolution: fixed
Status: newclosed

Fixed when I converted Menu2 to use tables rather than using custom formatting, about a week ago.

comment:2 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.