Hi all,
currently i have a frameset, which is shown to all Lotus users as a welcome page (Notes Client only - no web). In a certain frame i display 2 clocks with different time zones updated about every 5 minutes. The frame contains one form.
Therefore i have to refresh this single frame each time interval. In R5 i solved this with following javascrip-code:
JS Header
var timerID=null;
function autoRefresh() {
window.document.location.href=window.document.location.href+“&foo”;
}
On Load
timerID = setInterval(‘autoRefresh()’, 5601000)
This worked very well in R5.
If i launch this welcome page in R6 everything seems to be ok. But after a while i get the following error:
Cannot create window (insufficient Memory)
It seems that R6 can update this frame about 30 times and then brings up this message!
Now my question:
How can i implement a normal text based clock in a frame (contained in a frameset) which is refreshed automatically? The solution must run within R6!
Any proposals are welcome!
best regards
Markus
Subject: Cannot create window (insufficient Memory) - Or how to implement a self refreshing clock in a frame which is contained in a frameset?
I have a frameset that is used as the Welcome page and I have the same problem when using javascript setInterval or setTimeouts to reload the window. I’ve also discovered that just reloading the window doesn’t actually work either…I need to call a url everytime. Must be a caching thing.
Does anyone have a LotusScript solution that will reload a specific window on an interval?
BTW - i’ve tried using notesuiworkspace.reloadwindow()…works great until someone actually needs to work in a database. When the reload fires, it fires on whatever DB is currently open in the UI. That’s pretty neat when you are looking through a database and then it magically flips to the default view. ugg.
Subject: Cannot create window (insufficient Memory) - Or how to implement a self refreshing clock in a frame which is contained in a frameset?
Hi all,
the answer from Lotus Support:
With regard to Lotus Domino issue;
SPR SDEY5ZTC8V Memory leak using javascript setInterval Method
IBM Development have confirmed the issue will not be fixed in the Domino
Release 6x codestream.
Cheers,
Markus