Marc Salvetti kirjoitti 8.7.2005 kello 13:25:
Hello,
i had this kind of pb before because of the binding.
either you are calling new Form(form-definition) in your flow where
you are not supposed to
or you use the handleForm function from the sample and didn't
supplied a binding-uri
Hmm.. Not quite understanding where the problem is, but I have like
this:
cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/
Form.js");
function foo () {
....
for (var i=0; i<3; ++i) {
var form = new Form("defs/bean-"+(i+1)+"-model.xml");
form.createBinding("defs/bean-"+(i+1)+"-binding.xml");
form.load (bean);
k = form.showForm ("internal/bean/wizard-"+(i+1)+".form");
form.save (bean);
}
...
}
- Joose
--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]