cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
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.
>  
>

<snip/>

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

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Mime
View raw message