#1572 closed defect (wontfix)
TabContainer doesn´t fire selectTab dojo.event.connet
Reported by: | José Renato | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | TabContainer, event connection, selectTab | Cc: | |
Blocked By: | Blocking: |
Description
The function is nerver called:
tabContainer = dojo.widget.byId('tabContainer'); dojo.event.connect(tabContainer, 'selectTab', function (evt) {
selectedTab = tabContainer.selectedTabWidget; alert(selectedTab);
};
Changing 'selectTab' by 'selectPage' calls the inner function but selectedTab is 'undefined'
Change History (2)
comment:1 Changed 14 years ago by
Priority: | highest → normal |
---|---|
Resolution: | → wontfix |
severity: | major → normal |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Yeah, the name has been changed to selectChild(). selectTab() is still provided for backward compatibility, but you can't connect to it anymore. There's also an topic called <widgetId>-selectChild that you can subscribe to, to get notifications of tabs being selected.