Opened 8 years ago
Closed 8 years ago
#17135 closed defect (invalid)
parser.instantiate() unsuccessful on tab containers
Reported by: | psbucky | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Parser | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
As demonstrated in this jsfiddle:
...parser.instantiate() seems to fail for certain types of widgets--notably the tab container.
jsfiddle doesn't have 1.9 support yet, but I can vouch for the same behavior so far.
If the flaw is in my understanding of the difference between parse() and instantiate(), then I'm just as happy to be pointed to my error--though instantiate() DOES often work in just this way for many other widgets.
Note: See
TracTickets for help on using
tickets.
Sorry, but you're misunderstanding the contract of instantiate(). It just creates the specified widget, so in your example it will create the TabContainer but not the child ContentPanes. It won't call startup() either.