cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coli...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript xmlForm.js
Date Fri, 28 Mar 2003 22:56:18 GMT
coliver     2003/03/28 14:56:18

  Modified:    src/java/org/apache/cocoon/components/flow/javascript
                        xmlForm.js
  Log:
  remove form ids left in the session by XMLFormAction
  
  Revision  Changes    Path
  1.6       +3 -12     cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/xmlForm.js
  
  Index: xmlForm.js
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/xmlForm.js,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- xmlForm.js	22 Mar 2003 22:51:35 -0000	1.5
  +++ xmlForm.js	28 Mar 2003 22:56:18 -0000	1.6
  @@ -160,17 +160,8 @@
           }
           // reset the view in case this is a re-invocation of a continuation
           cocoon.request.setAttribute("view", view);
  -        try {
  -            this.form.save(cocoon.environment.objectModel, "request");
  -        } catch (e if (e instanceof java.lang.IllegalStateException)) {
  -            if (cocoon.session.getAttribute(this.id) != null) {
  -                // someone else has taken my session
  -                this.dead = true;
  -                handleInvalidContinuation();
  -                suicide();
  -            }
  -            throw e;
  -        }
  +	this.form.remove(this.id);
  +	this.form.save(cocoon.environment.objectModel, "request");
           this._sendView(uri, k);
           // _sendView creates a continuation, the invocation of which
           // will return right here: it is used to implement 
  
  
  

Mime
View raw message