4 Replies Latest reply on Feb 14, 2009 11:20 PM by mdesignz

    Working example of Seam and RichFaces tree component?

    mdesignz

      Just wondering if someone could share or point to a working example of using the RichFaces tree and recursiveTreeNodesAdaptor tags?
      If no replies, then I'll follow-up with the issues I'm facing, but I'm hoping to solve it simply by seeing a working example.
      Thanks.

        • 1. Re: Working example of Seam and RichFaces tree component?
          christian.bauer
          seam-trunk/examples$ grep -r "recursiveTree" *
          hibernate/resources-websphere61/META-INF/rich.taglib.xml:  <tag-name>recursiveTreeNodesAdaptor</tag-name>
          wiki/src/main/org/jboss/seam/wiki/core/action/DirectoryBrowser.java:        // use the rich:recursiveTreeNodeAdapter...
          wiki/src/plugin/org/jboss/seam/wiki/plugin/basic/templates/dirToc.xhtml:        <rich:recursiveTreeNodesAdaptor
          wiki/src/plugin/org/jboss/seam/wiki/plugin/basic/templates/dirToc.xhtml:        </rich:recursiveTreeNodesAdaptor>
          wiki/view/includes/directoryBrowserTree.xhtml:            <rich:recursiveTreeNodesAdaptor
          wiki/view/includes/directoryBrowserTree.xhtml:            </rich:recursiveTreeNodesAdaptor>
          

          • 2. Re: Working example of Seam and RichFaces tree component?
            joblini

            Working example here:
            richfaces demo


            • 3. Re: Working example of Seam and RichFaces tree component?
              mdesignz

              Hello, I appreciate the responses. My environment:  Seam 2.1.0.GA, JBoss 4.2.3.GA.
              I'm able to display the recursive tree properly, however, I'm running into the problem described here:  http://seamframework.org/Community/ConfigureRichFacesForRichtree.
              This is a mavenized project, and I've placed all of the richfaces jars in the ear's lib, and made the suggested change of adding the Class-Path:  /lib in the war's MANIFEST.MF.   Still, the adviseNodeOpened is complaining with Method Not Found. 


              Any suggestions would be greatly appreciated.

              • 4. Re: Working example of Seam and RichFaces tree component?
                mdesignz

                Got it working.  Must have been something left over in a previous deployment.  Having all of the richfaces jars in the ear lib, and not in the WEB-INF/lib gets it working.  This is exactly the solution that was posted in the link I referenced earlier.   My apologies for the noise.