Hi all,
How to write following scenario in flowscript:
display form1 (using form definition + form template, 100 fields);
after clicking button display form2 (also using form definition + form template, 100 fields) - some of the fields from form1 should be copied to form2;
after clicking button display form3 (also using form definition + form template, 200 fields) - it is combined result of form1 and form2;


What problems I have:
- how to pass data (whole model, or all widgets, or xml binding, whatever) from form1 to form2 (cocoon.sendPageAndWait('form2', what_to_put_here???) and use it in form2?
- I call cocoon.sendPageAndWait('form2') from flowscript of form1 and form2 is handled as:
function form2(form) {
//some set on model of form2
form.showForm("form2template");
return;
}
problem: flow is never back to form1 flow, I just see empty page - I didn't find any sample than from flow there is call of cocoon.sendPageAndWait, which is handled by next flow/handleForm_function - is it supported at all?


Is my approach correct? How to implement my scenario?
   Tom




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



Reply via email to