Re: Loading message for excel pages

2014-05-14 Thread Cameron Childress

An Ajax loader / spinner should solve your problem just fine.

http://www.jquery4u.com/tools/online-loading-ajax-spinner-generators/

-Cameron

On Tue, May 13, 2014 at 4:43 PM, funand learning wrote:


 All -

 I have a following link

 a href=javascript:callExcel()Generate excel/a

 the function callExcel() just uses
 document.form.action='excel.cfm?requesttimeout=1500';

 When the 'Generate excel' link is clicked, the user stays on current page,
 and the excel file is generated. The user never sees the actual 'excel.cfm'
 which has 'Please wait...' message as we are writing lot of data to excel.

 I tried to overcome this by going to an intermediate screen which has
 'Please wait' message, and then redirecting to excel.cfm page, but once the
 excel is written, I can still see 'Please wait...' message.

 What is the best way to handle this?

 Thanks.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358650
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Loading message for excel pages

2014-05-13 Thread funand learning

All -

I have a following link

a href=javascript:callExcel()Generate excel/a

the function callExcel() just uses
document.form.action='excel.cfm?requesttimeout=1500';

When the 'Generate excel' link is clicked, the user stays on current page,
and the excel file is generated. The user never sees the actual 'excel.cfm'
which has 'Please wait...' message as we are writing lot of data to excel.

I tried to overcome this by going to an intermediate screen which has
'Please wait' message, and then redirecting to excel.cfm page, but once the
excel is written, I can still see 'Please wait...' message.

What is the best way to handle this?

Thanks.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Loading message for excel pages

2014-05-13 Thread Russ Michaels

The best suggestion would be use ajax. But the quickest method would be to
target the link to an Iframe and have the activity happen there and display
a please wait javascript message.


On Tue, May 13, 2014 at 9:43 PM, funand learning funandlrnn...@gmail.comwrote:


 All -

 I have a following link

 a href=javascript:callExcel()Generate excel/a

 the function callExcel() just uses
 document.form.action='excel.cfm?requesttimeout=1500';

 When the 'Generate excel' link is clicked, the user stays on current page,
 and the excel file is generated. The user never sees the actual 'excel.cfm'
 which has 'Please wait...' message as we are writing lot of data to excel.

 I tried to overcome this by going to an intermediate screen which has
 'Please wait' message, and then redirecting to excel.cfm page, but once the
 excel is written, I can still see 'Please wait...' message.

 What is the best way to handle this?

 Thanks.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm