-
1. Re: rich:recursiveTreeNodesAdaptor stopping after two levels
pdpantages Mar 13, 2008 4:48 PM (in response to electricmonk)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. -
2. Re: rich:recursiveTreeNodesAdaptor stopping after two levels
electricmonk Mar 13, 2008 7:53 PM (in response to electricmonk)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.
-
3. Re: rich:recursiveTreeNodesAdaptor stopping after two levels
nbelaevski Mar 14, 2008 11:15 AM (in response to electricmonk)Could you please post a sample project somewhere to see the issue?
-
4. Re: rich:recursiveTreeNodesAdaptor stopping after two levels
electricmonk Mar 18, 2008 5:10 AM (in response to electricmonk)Hey there,
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.
Cheers -
5. Re: rich:recursiveTreeNodesAdaptor stopping after two levels
electricmonk Mar 18, 2008 5:44 AM (in response to electricmonk)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.
Thanks -
6. Re: rich:recursiveTreeNodesAdaptor stopping after two levels
raphaf Jun 16, 2008 9:04 PM (in response to electricmonk)I had the same problem. This time was the commons-collections jar.
I downloaded the current version and replace it. The problem was solved.