Re: How to implement timing refresh of WebObjects page
Re: How to implement timing refresh of WebObjects page
- Subject: Re: How to implement timing refresh of WebObjects page
- From: Klaus Berkling <email@hidden>
- Date: Tue, 18 Sep 2007 10:57:02 -0700
On Sep 16, 2007, at 9:25 AM, Jerry W. Walker wrote:
[...]
The easiest way to do this is to add something like the following
to the header of your page:
<meta http-equiv="refresh" content="5">
That would cause the browser to re-request the page every 5
seconds. However, simply doing this will probably get you a
"Backtracked too far" error message in a few refreshes. [...]
Odd that this has come up here as I have to address this issue on one
of my apps (http://www.dyned.com/serverstatus).
You may be able to handle the "Backtracked too far" error message
with this:
Add this to the Application class
setPageRefreshOnBacktrackEnabled(true);
setPageCacheSize(10);
Then handle the the error page after 10 reloads with
handlePageRestorationErrorInContext method in the Application class.
More here:
http://developer.apple.com/documentation/WebObjects/Web_Applications/
Articles/8_Backtracking.html
Hope I didn't miss the point...
kib
"Success is not final, failure is not fatal: it is the courage to
continue that counts.”
- Winston Churchill
--
Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden