On May 23, 2005, at 5:17 PM, Ron Piterman wrote:
yep - just a thought -
the tacos tree needs a content, which renders for each node on the
tree.
It works more like a @Foreach and repeatedly renders its content...
so maybe you forgot to add content - something like:
<span jwcid="@InsertText" value="ognl:currentNode.name"/>
That did the trick. Thanks a lot Ron.
Now I have another question :-) Is there a way to get the "label" to
expand the node as well. It looks like the file system tree does
this, so I'll look into that. Just wondering if someone else might
have experience with this. As an example look at how contrib:Tree
treats the +/- & label as a single link. Clicking on the label
triggers the appropriate action as well as expanding the node.
That's sorta the thing I want.
I'd like to thank the Tacos people too. It took me quite a while to
get contrib:Tree to really do anything for me but I was able to get
going with tacos:Tree in a couple hours. I'd also like to thank
Michael since the Tapestry Palette even saved me from having to
download the JAR file manually :-)
--
Kevin