ovidiu      02/03/17 14:00:21

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow
                        flow.xconf
  Log:
  Added comment on what are the possible options. Added options for
  enabling the reloading of scripts, and define logger.
  
  Revision  Changes    Path
  1.3       +41 -2     
xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/flow.xconf
  
  Index: flow.xconf
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/flow.xconf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- flow.xconf        15 Mar 2002 23:39:14 -0000      1.2
  +++ flow.xconf        17 Mar 2002 22:00:21 -0000      1.3
  @@ -3,8 +3,47 @@
   <xconf xpath="/cocoon"
          unless="comment()[contains(., 'Flow interpreter')]">
   
  -  <!-- Flow interpreter support -->
  -  <flow-interpreters default="JavaScript">
  +  <!-- Flow interpreter support.
  +
  +    The attributes recognized by the <flow-interpreters> element are:
  +
  +      default (string value):
  +
  +         the default interpreted language assumed for <map:script>
  +         elements which do not specify a "language" attribute. If not
  +         present, the first language that's described within the
  +         <flow-interpreters> element is assumed to be the default
  +         language.
  +
  +      reload-scripts (boolean value, default false):
  +
  +         whether to check if the scripts source files are
  +         modified. Checking for modification is an expensive
  +         operation, so leave it disabled in a production
  +         environment. If not present it is assumed to be "false". When
  +         "true" *all* script files are checked for modification on
  +         each function invocation done using <map:call
  +         function="...">, but not more frequent than the value of
  +         "check-time" (see below).
  +
  +      check-time (long value, default 1000):
  +
  +         time in miliseconds between the checks for the last
  +         modification date of script files.
  +
  +    Within <flow-interpreters> only <component-instance> elements are
  +    recognized. The attributes recognized by this element are "name"
  +    and "class". "name" specifies the name of a scripting language,
  +    and "class" defines the Java class that implements it. See
  +    org.apache.cocoon.components.flow.Interpreter for the Cocoon
  +    interface with an scripting language interpreter.
  +
  +  -->
  +
  +  <flow-interpreters default="JavaScript"
  +                     reload-scripts="true"
  +                     check-time="2000"
  +                     logger="flow">
       <component-instance name="JavaScript"
                        
class="org.apache.cocoon.components.flow.JavaScriptInterpreter"/>
     </flow-interpreters>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to