ovidiu 02/03/17 22:49:55 Modified: src/scratchpad/schecoon ChangeLog Log: 2002-03-17 Ovidiu Predescu <[EMAIL PROTECTED]> * src/org/apache/cocoon/components/treeprocessor/sitemap/CallNodeBuilder2.java: Setup the resources subtree on the CallFunctionNode created. * src/org/apache/cocoon/components/treeprocessor/sitemap/CallFunctionNode.java: Implement Initializable. Set the `resources' on the interpreter in initialize(). This is suboptimal as there can be many call function nodes in the sitemap tree, but only one setResources on the Interpreter is needed. * src/org/apache/cocoon/components/flow/javascript/JSCocoon.java (processPipeline): New function. * src/org/apache/cocoon/components/flow/ScriptSource.java: Removed extra imports. Removed debugging statements. * src/org/apache/cocoon/components/treeprocessor/sitemap/ScriptNode.java: Removed extra imports. * src/org/apache/cocoon/components/flow/JavaScriptInterpreter.java: Added initial support for invoking a pipeline. * src/org/apache/cocoon/components/flow/Interpreter.java (setResources): New method to make the resources tree available to the flow interpreter. Pass a Map to processPipeline instead of a HashMap. * src/org/apache/cocoon/components/flow/AbstractInterpreter.java (setResources): New method to make the resources tree available to the flow interpreter. Revision Changes Path 1.23 +31 -0 xml-cocoon2/src/scratchpad/schecoon/ChangeLog Index: ChangeLog =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ChangeLog 17 Mar 2002 22:12:44 -0000 1.22 +++ ChangeLog 18 Mar 2002 06:49:55 -0000 1.23 @@ -1,5 +1,36 @@ 2002-03-17 Ovidiu Predescu <[EMAIL PROTECTED]> + * src/org/apache/cocoon/components/treeprocessor/sitemap/CallNodeBuilder2.java: + Setup the resources subtree on the CallFunctionNode created. + + * src/org/apache/cocoon/components/treeprocessor/sitemap/CallFunctionNode.java: + Implement Initializable. Set the `resources' on the interpreter in + initialize(). This is suboptimal as there can be many call + function nodes in the sitemap tree, but only one setResources on + the Interpreter is needed. + + * src/org/apache/cocoon/components/flow/javascript/JSCocoon.java + (processPipeline): New function. + + * src/org/apache/cocoon/components/flow/ScriptSource.java: Removed + extra imports. Removed debugging statements. + + * src/org/apache/cocoon/components/treeprocessor/sitemap/ScriptNode.java: + Removed extra imports. + + * src/org/apache/cocoon/components/flow/JavaScriptInterpreter.java: + Added initial support for invoking a pipeline. + + * src/org/apache/cocoon/components/flow/Interpreter.java + (setResources): New method to make the resources tree available to + the flow interpreter. + + Pass a Map to processPipeline instead of a HashMap. + + * src/org/apache/cocoon/components/flow/AbstractInterpreter.java + (setResources): New method to make the resources tree available to + the flow interpreter. + * src/org/apache/cocoon/components/treeprocessor/sitemap/ScriptNode.java: Register the loaded script file with the interpreter, instead of calling readScript. The interpreter will delay loading the file
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]