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/javascript/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]