Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#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 13 years ago by bill

Priority: highestnormal
Resolution: wontfix
severity: majornormal
Status: newclosed

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.

comment:2 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.