Dear Mailing List!
Once again I need your help. I'm struggling with a form that behaves
strange in Cocoon 2.1.9 although it worked fine in 2.1.8 and 2.1.9-dev
(early december version). It's quite a big form that contains
information about a company and its employees. I use a repeater widget
for the employees. The problem is, when I display the form for the first
time and change for example the name of the company (simple widget which
contains a string) and then try do save it, the change gets lost, as if
nothing ever happened. Only the data from the repeater get saved. After
displaying the form a second time, everything works fine. I found out
that removing the repeater would solve the problem. But I can't do that.
Remote debugging showed that ValueJXPathBinding.doSave(..) recognizes
the changed values, but I don't know what happens after this (or how to
debug this). The form gets called from flow like this:
while (true) {
var formEdit = new Form("forms/firmenEditIIDef.xml");
formEdit.createBinding("forms/firmenEditIIBinding.xml");
formEdit.load(firma);
formEdit.showForm("admin_formPage/firmenEditIITemplate",{"user"
: user, "msg" : msg });
formEdit.save(firma);
// data should have changed
}
Does anybody experience something similar? Or can anyone tell me how I
can debug the binding framework to find out why only the repeater data
get updated and the other data changes get lost although
ValueJXPathBinding.doSave seems to work?
Thank you
Werner
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]