I am wondering what is the best way to avoid the javascript timeout with
coldfusion and Ext2?
I have an ext2 grid of names, addresses and emails that could be 100s or 1000s
of rows long.
Given the way coldFusion will serve up a large page in chunks does it make
sense to then get Ext to go through the dataSet using defer()?
What would be better?
function doSomething(data, callback){
function part1(){
// do something with the data
...
part2.defer(10);
}
function part2(){
// do something else with the data
...
part3.defer(10);
}
function part3(){
// complete your action
...
if(callback){ // let other code know you are done
callback(data, ...);
}
}
part1();
}
_________________________________________________________________
Win a $16K adventure holiday to Rajasthan, India. Enter now!
http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=799&referral=windowslivehotmailtagline&URL=http://travel.ninemsn.com.au/compIntro.aspx?compId=2404
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---