I have a tabbed application and each panel is a singleton. Each panel has components like advanced data grid and other components along with save and cancel buttonc option. Currently, if the user is doing any changes and not saving it and moving it other tab, the data changes are lost. The requirement is to prompt user to ask to save on moving to other tab. Can any body suggest how to obtain this functionality.
I also need to try to make it more generic such that tomorrow if i need to add anothe tab, i don't have to duplicate the code.
Any help will be appreciated.
could you store the data in FlexGlobals? when initializing the tabs, you could validate the globals and load them into your controls?
I am sure there are better methods than using FlexGlobals, but I know it could work.