Ovidiu Predescu wrote:
One solution would be to define a pseudo-continuation, just after you finish the function initialization code, which could be referred from the View page template. Something like:Since you didn't provide the code for this startForm() function, I tried to write it myself, copying the code from _sendPageAndWait() minus the call to cocoon.forwardTo():
function myFunc()
{
var a;
// Long initialization code here
startForm(); // Creates a dummy continuation, with no page
// being sent to the browser
function startForm(timeToLive)
{
var k = new Continuation();
var kont = new WebContinuation(cocoon, k, lastContinuation, timeToLive);
suicide();
}
Do you think this would work? What's this suicide() function? I don't find it defined anywhere.
Ugo
--
Ugo Cei - http://www.beblogging.com/blog/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]