This content has been marked as final. Show 6 replies
In what way is it useless?
Sorry posted late on Sunday night - let me provide a test page linking to XML Web Service, waiting for a response -
Without CFFlush, the visitor stays at the Form page and only moves to the next page when the XML response has loaded.
With CFFlush, click on Start Search Button (no need to change any of the fields) and if this is done in Firefox or Opera, CFFlush operates in that the page contents prior to CFFlush are displayed and then the results drop down.
In Internet Explorer 6, Deepnet or Maxthon, the Form page goes straight to the next page, but doesn't display the page contents prior to the CFFlush. I have tried the RepeatString trick but that doesn't work.
It is because you are using tables! IE does not render a table at all until it has received the closing table tag. Use a tableless layout!
Not worth the hours of effort. Is there a way I can leave some text underneath the table, that gets hidden by the table when it appears?
You will still need to use css positioning to do that. The 'hours of effort' will be well worth it. The problem is not with CFFLUSH, the problem is with your HTML.
If you don't want to change from your existing table layout then just close the table prior to the cfflush and then start a new one after it - I use this method in a grid cfc I use where it flushes every x records when displaying large lists (ie. thousands of rows) so that the user isn't left staring at a blank grid for ages while it loads.