Hiya,
I have a binding that looks like this:
<wb:context path="/" wb="http://apache.org/cocoon/woody/binding/1.0">
<wb:value id="kriEntry200" path="KRIEntries[oid=200]/numberValue" />
<wb:value id="kriEntry201" path="KRIEntries[]/numberValue" />
</wb:context>
The form.load() works fine and all the values are loaded into the widgets.
However the form.save() generates the following error:
(Ignorable) problem binding field kriEntry200
org.apache.commons.jxpath.JXPathException: Cannot create a relative context for a non-existent node: /KRIEntries[1]/numberValue
done saving ValueJXPathBinding[widget=kriEntry200, xpath=KRIEntries[oid=200]/numberValue] -- value=null -- on-update == true
(Ignorable) problem binding field kriEntry201
org.apache.commons.jxpath.JXPathException: Cannot create a relative context for a non-existent node: /KRIEntries[2]/numberValue
done saving ValueJXPathBinding[widget=kriEntry200, xpath=KRIEntries[oid=201]/numberValue] -- value=null -- on-update == true
The values are both updated to equal null.
If the binding can load, shouldn't they be able to save? Is there anything mysterious about bean binding that could be going on here?
Phil
