Hi..

and how did you get this working?

thx
stefan


Marilen Corciovei wrote:
> 
> I implemented something js based here: http://www.resa-air.com/a5/be
> while wanting for the flights results to come up. 
> 
> Len
> www.len.ro
> 
> On Wed, 2006-12-06 at 13:07 -0800, Sam Gendler wrote:
> 
>> Does anyone have a mechanism for displaying some kind of please wait
>> mechanism while waiting for a slow loading page to be rendered?  I can
>> think of a couple of potential solutions:
>> 
>> 1.  Submit form, have listener send to a please wait page which does
>> nothing but send another request which will actually load the page in
>> question.  The problems with this include pages that require lots of
>> data in the form submission.  I'd have to stick it in the session or
>> throw it in a hidden form.  If it is a lot of data, it could be quite
>> slow.  No control over when the browser stops displaying the message -
>> usually first byte in.  If there is network latency, that could still
>> leave several seconds without the message in view.
>> 
>> 2.  If Tapestry supports it, I can render the header of the page,
>> including a div that says please wait, then flush to the browser
>> before initializing the model.  At the end of the page, render some js
>> that will hide the div.  Only problem here is flushing before the page
>> is completely rendered.  Is this possible in Tapestry?
>> 
>> Note: I cannot use an ajax update of the entire page and use the
>> effects available in an AjaxForm to render the message.  At least, I
>> don't think I can.  I haven't done an analysis of the pages in
>> question, but I'd really prefer top have my solution work on any page,
>> rather than just on ajax-y ones.  It would, however, be nice to have a
>> solution which looks the same whether dong an ajax update (using
>> preEffect and effect) and when doing a full page reload after a normal
>> POST.
>> 
>> Thanks
>> 
>> --sam
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/need-%22please-wait%22-notice-for-slow-loading-pages-tf2770707.html#a7735720
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to