2 Replies Latest reply on Jul 23, 2009 7:17 PM by marcus1460

    Help with RichFaces Tree

      Hi All,
      Please i want to implement Richfaces tree so that a user can click on the nodes  as a links. I followed this example on exadel's website but is not working:
      http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf;jsessionid=1A289CB5A84A10F862846A748366E885?c=tree&tab=usage

      but this is how i want it when you click on the nodes:

      http://seamframework.org/Documentation/KnowledgeBase

      Please can anyone gives me any opinion on how to implement Richfaces with link nodes?

      Marcus
        • 1. Re: Help with RichFaces Tree
          marcospetry

          Dear Marcus,


          How to add a simple link to the tree node?


          Simple code is placed below:


          Example:


          <rich:tree> 
            <rich:treeNode submitMode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/'">
              <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
                 <h:outputText value="RichFaces Home Page"></h:outputText>
              </h:outputLink>
            </rich:treeNode>
          </rich:tree>



          More details on: item 1.20
          My Link

          • 2. Re: Help with RichFaces Tree

            Thanks Petry, Marcos R.