reinhard    2003/09/08 15:57:13

  Modified:    src/blocks/scratchpad/conf intercepted-flow.xconf
  Log:
  - The interpreter is configured with a list of all functions that are known 
to create
  continuations (cocoon.sendPageAndWait(), woody.send())
  
  Revision  Changes    Path
  1.2       +14 -3     
cocoon-2.1/src/blocks/scratchpad/conf/intercepted-flow.xconf
  
  Index: intercepted-flow.xconf
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/scratchpad/conf/intercepted-flow.xconf,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- intercepted-flow.xconf    6 Sep 2003 13:23:30 -0000       1.1
  +++ intercepted-flow.xconf    8 Sep 2003 22:57:13 -0000       1.2
  @@ -6,9 +6,20 @@
       <component-instance 
class="org.apache.cocoon.components.flow.javascript.fom.AO_FOM_JavaScriptInterpreter"
 name="intercepted-javascript">
         
<load-on-startup>resource://org/apache/cocoon/components/flow/javascript/fom/ao_fom_system.js</load-on-startup>
         <reload-scripts>true</reload-scripts>
  -      <enable-interception>true</enable-interception>
         <check-time>40</check-time>
  -      <!--  <debugger>enabled</debugger> -->  <!-- JavaScript Debugger 
support -->
  -    </component-instance>    
  +      <!--  <debugger>enabled</debugger> --> <!-- JavaScript Debugger 
support -->
  +      
  +      <!-- ************* interception support ***************** -->
  +        <!-- on/off switch -->
  +        <enable-interception>true</enable-interception>
  +        <!-- list of all functions that stop flow execution -->
  +        <cont-creating-functions>
  +          <function>cocoon.sendPageAndWait()</function>
  +          <function>woody.send()</function>
  +        </cont-creating-functions>
  +        <!-- the result script is copied in the same directory as the 
basescript 
  +             if the file protocol is used to resolve the script -->
  +        <copy-result-script>true</copy-result-script>
  +    </component-instance>   
   
   </xconf>
  
  
  

Reply via email to