#1084 closed defect (fixed)
MenuSeparator2 broken when created with createWidget
Reported by: | 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 15 years ago by
Component: | General → Widgets |
---|---|
Milestone: | → 0.4 |
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed when I converted Menu2 to use tables rather than using custom formatting, about a week ago.