cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Tree widget example broken (was Re: svn commit: r289538)
Date Thu, 22 Sep 2005 19:32:06 GMT
El mié, 21-09-2005 a las 23:40 +0200, Sylvain Wallez escribió:
> 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.

I will have a look into the repeater binding and can hopefully come up
with a workable start for the tree binding. Thanks for all your help. I
will try something on the weekend.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message