cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@apache.org>
Subject Re: flowscript reload question
Date Thu, 25 Jul 2002 00:09:30 GMT
Greg,

On 7/23/02 6:38 PM, "Greg Weinger" <gweinger@itmedicine.net> wrote:

> How do you get a flow javascript to reload without restarting catalina?
> 
> Long ago Ovidiu Predescu wrote:
> 
>>> The script is reloaded only when you invoke a top level function in it. If
>>> you simply restart a continuation, this will use the old code loaded by the
>>> code.
> 
> Could someone please elaborate?  What constitutes a top level function?
> 
> In the example calc.js I add a debug line:
> 
> function calculator(uriPrefix)
> {
> print("WAAAAHSABI!");
> 
> . . . .
> 
> 
> I go back in my browser and re-enter the program, getting a new continuation,
> but  
> still no debug output unless I restart.  I'm using today's dev snapshot with
> jdk1.4.

Um, I've noticed this problem as well in the latest CVS. I'll check out to
see what's going on.

Thanks for reporting it.

Regards,
-- 
Ovidiu Predescu <ovidiu@apache.org>
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU, Emacs...)


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message