Thanks guys... I was able to build a nice little Progress bar for my app. Things are looking good now.
- Neal -----Original Message----- From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 11:34 AM To: [EMAIL PROTECTED] Subject: RE: XML Issues... (Solved) - Now Status bar question damn... :) > I knew that. :) > -----Original Message----- > From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2003 9:37 AM > To: [EMAIL PROTECTED] > Subject: RE: XML Issues... (Solved) - Now Status bar > question > No, that wasn't sarcastic... 'cause it was a thread I > wanted to respond > to. That's why I have the filter. :) >> Hee Hee, sorry Isaac. >> -----Original Message----- >> From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] >> Sent: Thursday, November 06, 2003 3:25 PM >> To: [EMAIL PROTECTED] >> Subject: RE: XML Issues... (Solved) - Now Status bar >> question >> Thanks for sticking "Isaac" in this Ron, -- that sets off >> my filters >> to make sure I see the message. :) In any event, yea, >> there's a dhtml >> progress bar in the onTap framework and prior to that in >> the Tapestry >> API (TAPI) both open-source and available on my site. >> Fundamentally it's >> fairly simple. You create your html widgets and then you >> run your >> process and you output a small javascript function that >> updates the >> progress bar. You have to do it like this to make it >> work: >> <cfloop ... > >> <script type="javascript"> >> ... update progress bar here ... >> </script> >> <cfflush> >> </cfloop> >> The loop and the flush are both necessary, which >> unfortunately means >> it's not very useful for certain things like uploading an >> individual >> file since you can only flush after each _complete_ file >> uploaded. So >> with database activities, if you can separate the process >> out into >> several separate queries, then you can update progress >> after each >> individual query. And again, unfortunately it doesn't >> help if you're >> down to a single long-running query. >> You can create a "faux" progress bar "loading . . ." and >> make the dots >> move to give users the impression of progress to try and >> keep them >> from hitting refresh and hozing it up. You can also use >> javascript to >> move on to the next page before the query finished >> processing, which >> eliminates the possibility of users doing that >> all-together. To do >> that use something like this: >> <script language="javascript"> >> location.replace("next page here"); >> </script><cfflush> >> <cfquery ...> >> ... long running query here ... >> </cfquery> >> Note also that the cfflush tag must be _outside_ the >> script tags -- >> otherwise the browser is left waiting for you to close >> the script tags >> before it executes any of the script. Also, Internet >> Explorer won't >> display any content (or execute any script) until it's >> received >> something like 1500 characters worth of data... >> fortunately it can be >> white-space, so if you have a problem with a flush not >> seeming to >> execute the js, you can just put in something like >> <cfoutput>#repeatstring(" ",1500)#</cfoutput> in front of >> the flush >> and that'll force IE to accept it. >> hth >> s. isaac dealey 972-490-6624 >> team macromedia volunteer >> http://www.macromedia.com/go/team >> chief architect, tapestry cms http://products.turnkey.to >> onTap is open source >> http://www.turnkey.to/ontap >>> I believe Sir. Isaac can help you out in this category. >>> I've seen it >>> from his onTap site. I don't have the link anymore. It >>> was a free >>> download. >>> _____ >>> From: Bailey, Neal [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, November 06, 2003 2:11 PM >>> To: '[EMAIL PROTECTED]' >>> Subject: RE: XML Issues... (Solved) - Now Status bar >>> question >>> Ok I have another question... I seem to have it working >>> now. And the >>> data that I have to transfer into our database is >>> somewhat large plus >>> the connection at our main office is slow. I was >>> wondering if there >>> is >>> some type of status bar I can add to this page to show >>> the progress >>> of >>> the transfer. I have seen something like this before but >>> it was a >>> java >>> thingy and I'm not sure it will work for what I need as >>> it have to >>> monitor the progress of the query. Any ideas on what I >>> could do? >>> Thanks, >>> And yes this list is the best... I probably would not be >>> where I am >>> today with out it. Ten times better than the popular >>> CF-Talk list. >>> One day I would like to attend one of the meetings. >>> Neal Bailey >>> Internet Marketing Manager >>> UGA-Association Field Services >>> Phone: 817.255.3720 >>> Fax: 501.694.8929 >>> E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> ----------------------------------------------- >> To post, send email to [EMAIL PROTECTED] To unsubscribe: >> Send UNSUBSCRIBE to [EMAIL PROTECTED] To >> subscribe / >> unsubscribe: http://www.dfwcfug.org >> ----------------------------------------------- >> To post, send email to [EMAIL PROTECTED] To unsubscribe: >> Send UNSUBSCRIBE to [EMAIL PROTECTED] To >> subscribe / >> unsubscribe: http://www.dfwcfug.org > s. isaac dealey 972-490-6624 > team macromedia volunteer > http://www.macromedia.com/go/team > chief architect, tapestry cms http://products.turnkey.to > onTap is open source http://www.turnkey.to/ontap > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > Send UNSUBSCRIBE to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > Send UNSUBSCRIBE to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org s. isaac dealey 972-490-6624 team macromedia volunteer http://www.macromedia.com/go/team chief architect, tapestry cms http://products.turnkey.to onTap is open source http://www.turnkey.to/ontap ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
