cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: dynamic flowscript
Date Wed, 03 Sep 2003 07:47:59 GMT wrote:

> Hi,
> I'm playing with Woody and Flowscript and want to include some dynamic 
> javascript as Flowscript.  The javascript would be generated by 
> transforming some XML markup into script.  So I tried:
>         cocoon.load("cocoon:/getControllerLogic");
> from somewhere in Woody's flowscript.
> But it seems that Flowscripts are loaded once and only once when the 
> sitemap is loaded.  Is this correct?  Or am I doing something wrong? 

I've seen this behaviour with static files : FlowScript doesn't seem to 
check changes on scripts loaded with cocoon.load().

This is a bug, and the current workaround is to touch the main script file.

> Or maybe tryin to use dynamic flowscript is just bad magic?  I'm 
> playing around with the thought of supporting hundreds or thousands of 
> forms, each with (potentially) their own unique controller logic.... 

Looks yummy ;-)


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -

View raw message