Upayavira wrote:Ah, great. I was going to look there. I've got the XMLDBSource coded, and am testing at the mo, so that's my next port of call.
Marc Portier wrote:
now, in this case backendX is cocoon (modifiable) sources, so I would
guess some saveToSource/loadFromSource can be made quite generic and
might very well be candidates for natural extension of the woody2.js
Yup. You've confirmed what I suspected. What I was (indirectly) getting at, is that binding to a source goes a little further than binding to DOM or bean, but remains very generic, and would be delighted to see it in woody2.js.
If/when I get to doing my modifiable XMLDBSource, I'll try adding this
to woody2.js, unless you beat me to it!
IIUC you can pretty much copy what's in loadDocument and saveDocument of
binding_example.js These are already generic to any (modifiable) source.
Thanks, Upayavira
