3 Replies Latest reply on Jun 15, 2011 3:31 AM by biliogadafr

    Problem with treeNode icons in IE 8

    biliogadafr

      I am using RichFaces 4.0.Final

       

      I want to change  icons in the tree on their own. Doing it this way

       

      <rich:tree value="#{treeBean.root}" nodeType="#{node.type}" var="node" toggleType="client" >
           <rich:treeNode type="folder" iconExpanded="/images/Document_Folder.gif" iconCollapsed="/images/Document_Folder.gif">
                <h:outputText value="#{node}" />
           </rich:treeNode>
           <rich:treeNode type="root" iconExpanded="/images/Server.gif" iconCollapsed="/images/Server.gif">
                <h:outputText value="#{node}" />
           </rich:treeNode>
      </rich:tree>
      



      Everything is fine in Firefox 4.0, Chrome 12, but in IE8 I saw two icons at once instead of one.

       

      IE:

      bug.jpg

      Firefox:

      norm.jpg

      How to fix this?

       

      Thanks.