ovidiu 02/04/18 23:56:53 Modified: src/scratchpad/schecoon/src/org/apache/cocoon/components/flow AbstractInterpreter.java Log: Removed the dependency on InvokeContext. Revision Changes Path 1.8 +1 -8 xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/AbstractInterpreter.java Index: AbstractInterpreter.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/AbstractInterpreter.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- AbstractInterpreter.java 10 Apr 2002 06:16:00 -0000 1.7 +++ AbstractInterpreter.java 19 Apr 2002 06:56:53 -0000 1.8 @@ -16,7 +16,6 @@ import org.apache.cocoon.Constants; import org.apache.cocoon.components.source.SourceFactory; import org.apache.cocoon.components.treeprocessor.CategoryNode; -import org.apache.cocoon.components.treeprocessor.InvokeContext; import org.apache.cocoon.components.treeprocessor.MapStackResolver; import org.apache.cocoon.components.treeprocessor.ProcessingNode; import org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode; @@ -214,15 +213,9 @@ public void forwardTo(String uri, Object bizData, WebContinuation continuation, - Environment environment, InvokeContext ctx) + Environment environment) throws Exception { - if (ctx == null) { - String msg = "Cannot invoke pipeline with a null InvokeContext! Make sure" - + " you're calling the pipeline during the execution of a request."; - throw new RuntimeException(msg); - } - environment.setAttribute("bean-dict", bizData); environment.setAttribute("kont", continuation);
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]