2 Replies Latest reply on Aug 6, 2009 12:28 PM by marmalis

    rich:tree nodes underline and change color

      Hi!

      I'm using rich:tree like this:

       <rich:tree id="tree" switchType="client" ... >
       <rich:treeNode type="title" ... >
       <table ...>
       ...
       </table>
       </rich:treeNode>
      
       <rich:treeNode type="node" ... >
       <h:outputText ... />
       ...
       </rich:treeNode>
      
       <rich:treeNode type="errorNode" ... >
       <h:outputText ... />
       ...
       </rich:treeNode>
       </rich:tree>


      All the nodes change their color and underline, where mouse is over.
      Is there any way to avoid this? I'm try onmouseover="", but it's not working.

      Thanks in advance!
      marmalis

        • 1. Re: rich:tree nodes underline and change color

          Problem with node highlighted resolve with define CSS class

          .rich-tree-node-highlighted
          {
           text-decoration: none;
          }


          but I can't resolve the problem with color.

          • 2. Re: rich:tree nodes underline and change color

            if define style color:black for h:outputText into nodes it will be redefine the color changes.

             <rich:tree id="tree" switchType="client" ... >
             <rich:treeNode type="title" ... >
             <table ...>
             ...
             </table>
             </rich:treeNode>
            
             <rich:treeNode type="node" ... >
             <h:outputText style="color:black" ... />
             ...
             </rich:treeNode>
            
             <rich:treeNode type="errorNode" ... >
             <h:outputText style="color:black"... />
             ...
             </rich:treeNode>
             </rich:tree>
            


            Sorry for my broken English and thanks for this site! :O)
            marmalis


            !topic is closed!