Hello Shai, wrt the tree, can you not expand the tree past the second level?
The demo code limits the initial rendering to 2 levels (class TreeStateAdvisor checks level <=2 ); But you should be able to expand it to levels 3+ after the page is rendered.
If you copied this code as-is, try changing it to "level <=n"...
Maybe you can post your source.
What I mean is, no nodes beyond level 2 are being rendered. All nodes on level two are displayed as leafs ('file' icon) rather than nodes ('folder' icon), even those which are in fact directories.
Could you please post a sample project somewhere to see the issue?
Sorry for the late reply, I was out of the office.
I've tried creating a blank project to recreate the problem, and it seems to be working in the blank one.
So I'm guessing the problem is in one of the dependencies for my real project. This project is over a year old (since Richfaces 3.0), and has accumulated lots of dependencies over time.
I'll post an update here as soon as I figure this out.
Ok, a Jar called checkstyle-all.jar, which is a distribution of the Checkstyle project (http://checkstyle.sourceforge.net/) seems to be the culprit.
Version is 3.4.
I would've attached the JAR file but I can't seem to find a way to post attachments to this forum.
Anyway, I'll try removing it and see if anything goes wrong in the project. Guys at Richfaces dev, I guess you should take a look at this conflict.
I had the same problem. This time was the commons-collections jar.
I downloaded the current version and replace it. The problem was solved.