1 Reply Latest reply on Dec 17, 2010 4:52 AM by Lukáš Fryč

    RF4 - rich:tree - @title for nodes instead of whole tree? [SOLVED]

    Lukáš Fryč Master

      Currently, you can define @title for whole tree using

       

      <rich:tree title="some_title" ... />
      

       

      I think this is not as much usable as can be when defined for particular nodes, consider:

       

      <rich:treeNode title="some_details_about_node" />
      

       

      I know we can use rich:tooltip for this purpose, but in some cases, node's @title can be much more lightweight solution.

        • 1. Re: RF4 - rich:tree - @title for nodes instead of whole tree?
          Lukáš Fryč Master

          I'm sorry I just re-checked and I can see @title in rich.faces-config.xml defined for treeNode:

           

          <attribute>
                      <description>Advisory title information about markup elements generated for this component.</description>
                      <display-name>Advisory Title</display-name>
                      <icon />
                      <name>title</name>
                      <type>java.lang.String</type>
                  </attribute>

          <attribute>

                      <description>Advisory title information about markup elements generated for this component.</description>

                      <display-name>Advisory Title</display-name>

                      <icon />

                      <name>title</name>

                      <type>java.lang.String</type>

                  </attribute>