Sorry, fixed this myself. It turns out I had the "login-success-pipeline"
redirect to another page. When I changed it to the usual generate/transform
lines it worked.

Bye, Helma

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 26 December 2003 22:03
> To: [EMAIL PROTECTED]
> Subject: Flow does not proceed to cocoon.sendpage()
> 
> 
> Hi,
> 
> I know I've read about this somewhere but I can't find it any 
> more. When I
> run the flowscript below I see the result of the last print() 
> statement, but
> cocoon does not proceed to execute the pipeline, instead I 
> get a blank page
> with a continuation ID as URL. What is wrong?
> 
> cocoon.load("resource://org/apache/cocoon/woody/flow/javascrip
> t/woody2.js");
> function myFlowScript() {
>     var form = new Form("content/myWoodyFlowDef.xml");
>               var finished = false;
>               var errMsg = "";
> 
>               while(!finished) {
>                       print ("before form" + new java.util.Date());
>       var model = form.getModel();
> 
>       form.showForm("myWoodyFlow.form", { "message" : errMsg });
> 
>       if (model.data = valid) {
>                               print("valid form");
>                               finished = true;
>                       }
>                       if (!finished) {
>                               errMsg = "error, data is not valid";
>                       }
>                       else {
>                               errMsg = "";
>                       }
>                       print ("finished = " + finished + ", " 
> + errMsg +
> "-");
>               } // end while
> 
>               print("after while");
>     cocoon.sendPage("login-success-pipeline");
> }
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to