1 Reply Latest reply on Apr 8, 2011 8:39 AM by iabughosh

    [Richfaces 4.0.0.final] icons in rich:treeNode

    Peter Schütt Newbie

      Hallo,

      in the final version (I think they never worked in 4.x)

      the icon attribute does not work.

       

      Also in the current show case in my Firefox 4.0 the symbol is not shown.

       

         <rich:treeNode type="company" icon="/images/tree/disc.gif">

                      #{node.name}

                  </rich:treeNode>

       

      As a workaround for me I use explicite iconLeaf, IconExpanded and IconCollapsed.

       

      It is code duplication if you do not want to differ the symbols.

       

      Ciao

        Peter Schütt