cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: [Flow] Support for interceptions
Date Sat, 06 Sep 2003 19:03:45 GMT
Reinhard Poetz wrote:

>This week I have invested some time in writing a prototyp following
>Stefano's proposal about intercepted flowscripts.
>I added the support for interceptions without touching Rhino but by
>enhancing the JavascriptInterpreter. This enhanced
>Javascript-Interpreter can be found within the scratchpad block. It uses
>the "JavascriptAspectWeaver" which does all the magic of interception.
>If you want to use the enhanced flow interpreter, compile Cocoon without
>excluding the scratchpad and then you have to use
>  <map:flow language="intercepted-javascript">
>    <map:script src="<yourScript>"/>
>  </map:flow>
>in your sitemap.
>I also added a small example which can be found in the scratchpad
>examples section.
>The changes for the already existing JavaScript Interpreter are very
>small (only a few lines of code) - I duplicated the code because I
>haven't wanted to add this feature to the core 2.1.x branch ATM.


Looks yummy, but without continuation support, a big piece is missing. 
Is there a blocking problem with that ?


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

View raw message