Thorsten Scherler wrote:
Please stay with me and have a look at http://pastebin.com/370146. I added a binding file and a custom binding containing above code, but how can I now produce for each object a node? + /* + * How to produce for each object a new xml-node? + * Like <file>objs[1]</file>, <file>objs[2]</file>, ... + */
The problem is that the binding you will want to do highly depends on the TreeModel, i.e. the kind of objects returned by model.getNode(). We could imagine to have something similar to the repeater binding, executing child bindings for each of the selected paths.
Sylvain -- Sylvain Wallez Anyware Technologies http://people.apache.org/~sylvain http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director
