Tricking users/progress bar
I am calling a page that itself contains a CFHTTP call to an external resource that takes about 10-15 seconds to process. The problem is that nothing is displayed on the page until that processing is complete. What can I do to give a user some indication that something's going on instead of a blank page? Thanks! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
Use CFFLUSH... Example: Please stand by while I do crap cfflush Be aware that there is a 'feature' of IE where it will only display HTML when the request is completely done, or it gets 'enough' HTML. So, that line I have in my example would NOT work if you didn't have enough HTML above it. If you find this happening, add a: #repeatString( ,200)# to your output. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:28 AM To: CF-Talk Subject: Tricking users/progress bar I am calling a page that itself contains a CFHTTP call to an external resource that takes about 10-15 seconds to process. The problem is that nothing is displayed on the page until that processing is complete. What can I do to give a user some indication that something's going on instead of a blank page? Thanks! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
It has been pointed out that my choice of words below were a bit... off... sorry folks, didn't even realize! (This is what happens when I type faster than I think. ;) === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:50 AM To: CF-Talk Subject: RE: Tricking users/progress bar Use CFFLUSH... Example: Please stand by while I do crap cfflush Be aware that there is a 'feature' of IE where it will only display HTML when the request is completely done, or it gets 'enough' HTML. So, that line I have in my example would NOT work if you didn't have enough HTML above it. If you find this happening, add a: #repeatString( ,200)# ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
ray have you made cfflush perform correctly on IE? I have not. I have tried with showing results from a query, populating rows of a table, and to my surprise, the page just waited to display the entire thing, no flushy flushyjust one big dump ? does anyone have a working example? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:18 AM To: CF-Talk Subject: RE: Tricking users/progress bar It has been pointed out that my choice of words below were a bit... off... sorry folks, didn't even realize! (This is what happens when I type faster than I think. ;) === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:50 AM To: CF-Talk Subject: RE: Tricking users/progress bar Use CFFLUSH... Example: Please stand by while I do crap cfflush Be aware that there is a 'feature' of IE where it will only display HTML when the request is completely done, or it gets 'enough' HTML. So, that line I have in my example would NOT work if you didn't have enough HTML above it. If you find this happening, add a: #repeatString( ,200)# ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
Did you see my note about 'tricking' IE? Sometimes you have to send extra text - that's why I use repeatString( ,200) before my cfflush. As for a working examples, go to the Example Apps and look for the CFFlush example. If you are using CF5, I believe the example was accidently hidden, but can be found in a folder called magicnumbers. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 10:35 AM To: CF-Talk Subject: RE: Tricking users/progress bar ray have you made cfflush perform correctly on IE? I have not. I have tried with showing results from a query, populating rows of a table, and to my surprise, the page just waited to display the entire thing, no flushy flushyjust one big dump ? does anyone have a working example? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:18 AM To: CF-Talk Subject: RE: Tricking users/progress bar It has been pointed out that my choice of words below were a bit... off... sorry folks, didn't even realize! (This is what happens when I type faster than I think. ;) == = Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:50 AM To: CF-Talk Subject: RE: Tricking users/progress bar Use CFFLUSH... Example: Please stand by while I do crap cfflush Be aware that there is a 'feature' of IE where it will only display HTML when the request is completely done, or it gets 'enough' HTML. So, that line I have in my example would NOT work if you didn't have enough HTML above it. If you find this happening, add a: #repeatString( ,200)# ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Tricking users/progress bar
Tony Weeg writes: ray have you made cfflush perform correctly on IE? I have not. I have tried with showing results from a query, populating rows of a table, and to my surprise, the page just waited to display the entire thing, no flushy flushyjust one big dump ? does anyone have a working example? If I understand correctly (which is a longshot, granted), IE will not render any part of a table until the whole table is available. Maybe try divs instead? Dunno...never actually used CFFLUSH myself, so just a suggestion. Charlie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
That's because your browser won't display a table until the /table tag has been flushed... Do a right-click-view-source while the page is loading and you'll see the 'flushed' table html content has in fact been sent along to your browser. ~bgl -- -Original Message- -- From: Tony Weeg [mailto:[EMAIL PROTECTED] -- Sent: Friday, March 07, 2003 11:35 AM -- To: CF-Talk -- Subject: RE: Tricking users/progress bar -- -- ray have you made cfflush perform correctly on IE? -- -- I have not. I have tried with showing results from a query, -- populating rows of a table, and to my surprise, the page just -- waited to display the entire thing, no flushy flushyjust one big -- dump ? does anyone have a working example? -- -- thanks -- -- ...tony -- -- Tony Weeg -- Senior Web Developer -- UnCertified Advanced ColdFusion Developer -- Information System Design -- Navtrak, Inc. -- Mobile workforce monitoring, mapping reporting -- www.navtrak.net -- 410.548.2337 -- -- -Original Message- -- From: Raymond Camden [mailto:[EMAIL PROTECTED] -- Sent: Friday, March 07, 2003 11:18 AM -- To: CF-Talk -- Subject: RE: Tricking users/progress bar -- -- -- It has been pointed out that my choice of words below were a bit... -- off... sorry folks, didn't even realize! (This is what happens when I -- type faster than I think. ;) -- -- === -- Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc -- Member of Team Macromedia -- -- Email: [EMAIL PROTECTED] -- Blog : www.camdenfamily.com/morpheus/blog -- Yahoo IM : morpheus -- -- My ally is the Force, and a powerful ally it is. - Yoda -- -- -Original Message- -- From: Raymond Camden [mailto:[EMAIL PROTECTED] -- Sent: Friday, March 07, 2003 9:50 AM -- To: CF-Talk -- Subject: RE: Tricking users/progress bar -- -- -- Use CFFLUSH... -- -- Example: -- -- Please stand by while I do crap -- cfflush -- -- Be aware that there is a 'feature' of IE where it will only -- display HTML when the request is completely done, or it gets -- 'enough' HTML. So, that line I have in my example would NOT -- work if you didn't have enough HTML above it. If you find -- this happening, add a: -- -- #repeatString( ,200)# -- -- -- -- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
IE waits for the 1st 1000 or so characters before it starts to render. When we've needed it to work, we've put some really big comment at the top of the page (the best was a quote from Crime Punishment by my boss with the degree in Russian Lit). Annoying, but easy to deal with once you figure out that IE sucks. :-) -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Tony Weeg [mailto:[EMAIL PROTECTED] : Sent: Friday, March 07, 2003 11:35 AM : To: CF-Talk : Subject: RE: Tricking users/progress bar : : : ray have you made cfflush perform correctly on IE? : : I have not. I have tried with showing results from a query, : populating rows of a table, and to my surprise, the page just : waited to display the entire thing, no flushy flushyjust one big : dump ? does anyone have a working example? : : thanks : : ...tony : : Tony Weeg : Senior Web Developer : UnCertified Advanced ColdFusion Developer : Information System Design : Navtrak, Inc. : Mobile workforce monitoring, mapping reporting : www.navtrak.net : 410.548.2337 : : -Original Message- : From: Raymond Camden [mailto:[EMAIL PROTECTED] : Sent: Friday, March 07, 2003 11:18 AM : To: CF-Talk : Subject: RE: Tricking users/progress bar : : : It has been pointed out that my choice of words below were a bit... : off... sorry folks, didn't even realize! (This is what happens when I : type faster than I think. ;) : : === : Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc : Member of Team Macromedia : : Email: [EMAIL PROTECTED] : Blog : www.camdenfamily.com/morpheus/blog : Yahoo IM : morpheus : : My ally is the Force, and a powerful ally it is. - Yoda : : -Original Message- : From: Raymond Camden [mailto:[EMAIL PROTECTED] : Sent: Friday, March 07, 2003 9:50 AM : To: CF-Talk : Subject: RE: Tricking users/progress bar : : : Use CFFLUSH... : : Example: : : Please stand by while I do crap : cfflush : : Be aware that there is a 'feature' of IE where it will only : display HTML when the request is completely done, or it gets : 'enough' HTML. So, that line I have in my example would NOT : work if you didn't have enough HTML above it. If you find : this happening, add a: : : #repeatString( ,200)# : : : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
Feh. We're all adults here, aren't we? Personally, I find the juxtaposition of CFDUMP and CFFLUSH to be quite amusing. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:18 AM To: CF-Talk Subject: RE: Tricking users/progress bar It has been pointed out that my choice of words below were a bit... off... sorry folks, didn't even realize! (This is what happens when I type faster than I think. ;) == = Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:50 AM To: CF-Talk Subject: RE: Tricking users/progress bar Use CFFLUSH... Example: Please stand by while I do crap cfflush Be aware that there is a 'feature' of IE where it will only display HTML when the request is completely done, or it gets 'enough' HTML. So, that line I have in my example would NOT work if you didn't have enough HTML above it. If you find this happening, add a: #repeatString( ,200)# ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
Isn't there a trick with... the col tag - or some such - to make tables render part way? I _swear_ I remember reading something about a tag you can add to your tables so that they would be able to render as they were being built. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: charlie griefer [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:03 AM To: CF-Talk Subject: Re: Tricking users/progress bar Tony Weeg writes: ray have you made cfflush perform correctly on IE? I have not. I have tried with showing results from a query, populating rows of a table, and to my surprise, the page just waited to display the entire thing, no flushy flushyjust one big dump ? does anyone have a working example? If I understand correctly (which is a longshot, granted), IE will not render any part of a table until the whole table is available. Maybe try divs instead? Dunno...never actually used CFFLUSH myself, so just a suggestion. Charlie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricking users/progress bar
I wouldn't say 1000 characters. It seems closer to 150-200 to me. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:00 AM To: CF-Talk Subject: RE: Tricking users/progress bar IE waits for the 1st 1000 or so characters before it starts to render. When we've needed it to work, we've put some really big comment at the top of the page (the best was a quote from Crime Punishment by my boss with the degree in Russian Lit). Annoying, but easy to deal with once you figure out that IE sucks. :-) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4