You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2003/03/25 15:25:18 UTC

cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript system.js

stefano     2003/03/25 06:25:18

  Modified:    src/java/org/apache/cocoon/components/flow/javascript
                        system.js
  Log:
  NOTE: back-incompatible change!!! (affect only users currently using the flow)

Changed the URL called when an invalid continuation is called from "invalidContinuation.xml" to a more semantically neutral "invalidContinuation".

Consider this a half-fix since I think the flow engine should raise an exception and let it handle by the normal error-handling subsystem.
  
  Revision  Changes    Path
  1.4       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/system.js
  
  Index: system.js
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/system.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- system.js	20 Mar 2003 02:46:32 -0000	1.3
  +++ system.js	25 Mar 2003 14:25:18 -0000	1.4
  @@ -60,7 +60,7 @@
   // identified by 'id'
   function handleInvalidContinuation(id)
   {
  -  sendPage("invalidContinuation.xml", {"ident" : id});
  +  sendPage("invalidContinuation", {"ident" : id});
   }
   
   // Action Support