Re: Detecting Dirty Data inside a cflayout (aka Ext.TabPanel)

2011-09-23 Thread Michael Hanson
Can you give a top down example of how to do this via javascript in a coldfusion application. This is what I am familiar with doing: var mytabs = ColdFusion.Layout.getTabLayout('theTab'); mytabs.on('tabchange', function (tabpanel, activetab) { getTab(activetab.getText());

Re: Detecting Dirty Data inside a cflayout (aka Ext.TabPanel)

2011-09-23 Thread Michael Hanson
Can you give a top down example of how to do this via javascript in a coldfusion application. This is what I am familiar with doing: var mytabs = ColdFusion.Layout.getTabLayout('theTab'); mytabs.on('tabchange', function (tabpanel, activetab) { getTab(activetab.getText());

Detecting Dirty Data inside a cflayout (aka Ext.TabPanel)

2008-12-01 Thread Mark Pitts
The problem I was trying to solve was to be able to prompt the user before changing tabs whenever there is dirty data on the current tab. My first approach was to use the Ext.TabPanel's beforetabchange event. This strategy works if I did not implement any sort of prompting. As soon as I