flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
204 stars 91 forks source link

SuperTabBar tabUpdate event #330

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by pawel.ru...@gmail.com on 2010-09-20T13:18:29

What steps will reproduce the problem?

  1. Define SuperTabBar component
  2. Set property editableTabLabels="true"
  3. Define tabUpdated event handler
  4. Add dataProvider (in my case was ArrayCollection with objects which have property label)
  5. Change tab label in application

What is the expected output? What do you see instead?

I used the SuperTabBar control with option editableTabLabels="true" and I wanted to handle tabUpdated event but unfortunately after renaming a SuperTab label I couldn't handle SuperTabEvent.TAB_UPDATED event type. I found out that the SuperTab handled that event and didn't dispach it up to SuperTabBar. I changed SuperTabBar onTabUpdated function and hence the TAB_UPDATED event could be handled in application, I have attached path to this issue.

Please use labels and text to provide additional information.

nicoulaj commented 13 years ago

Updated by pawel.ru...@gmail.com on 2010-09-20T13:23:43

This issue regards to FlexLib version 2.5, flex 4