cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Tree widget example broken (was Re: svn commit: r289538)
Date Wed, 21 Sep 2005 21:40:55 GMT
Thorsten Scherler wrote:

>Please stay with me and have a look at 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 Wallez                        Anyware Technologies
Apache Software Foundation Member     Research & Technology Director

View raw message