8 Replies Latest reply on Mar 18, 2008 2:08 AM by heshuhua

    RichFaces Tree

    heshuhua

      Hello, every one.
      If i want to display a tree like the following,
      The parent node is on top, and child node is underneath its parent.

      *
      * *
      *** ***

      how to do it use rich components?

      thanks for any responds.

        • 1. Re: RichFaces Tree
          ilya_shaikovsky

          No such component in RF library now.

          • 2. Re: RichFaces Tree
            heshuhua

            Thanks for responds,

            But if any plan existed for this feature?
            Personaly, i think it have a inituitive use for org chart, and project wbs.

            • 3. Re: RichFaces Tree
              nbelaevski

              You can add the feature and vote for it here: http://labs.jboss.com/auth/wiki/en/RichFacesFuture

              • 4. Re: RichFaces Tree
                heshuhua

                Can richComponentControl work with a rich_tree ?Thanks .

                • 5. Re: RichFaces Tree
                  heshuhua

                  hi,
                  Can anybody show me an example for the following use case?

                  I have built a tree, then select one node, and then redirect to another page to comple a task relate to this selected node. but after complete the task. How can i reserved the stated of the seleted tree.


                  I looked the reference, and know it have lots of greate functions , but throug the livesite example, I can't find the related feature example.

                  • 6. Re: RichFaces Tree
                    nbelaevski

                     

                    "heshuhua" wrote:
                    hi,
                    Can anybody show me an example for the following use case?

                    I have built a tree, then select one node, and then redirect to another page to comple a task relate to this selected node. but after complete the task. How can i reserved the stated of the seleted tree.


                    I looked the reference, and know it have lots of greate functions , but throug the livesite example, I can't find the related feature example.



                    Bind componentState attribute to the model bean property

                    • 7. Re: RichFaces Tree
                      heshuhua

                      Thanks nbelaevski.

                      could you explain it more detail? when i use a seam statefulbean, i try to bind tree componentState to String, Domain Object, TreeNode, and i always got a argument type mismatch Exception.

                      • 8. Re: RichFaces Tree
                        heshuhua

                        Hi, Nick.
                        Now i found the TreeState class, But it is difficult to me to use it through it's api. i just wandonerd , so many features the components have, where can i find the example?