1 Reply Latest reply on Aug 28, 2012 4:58 PM by strannik

    adviseNodeOpened attribute not available in RichFaces 4.x?

    rbid

      I am trying to use this adviseNodeOpened attribute and Backing Bean as suggested by RichFaces to display the Tree structure and its folders open / expanded by default when it is first displayed to the User. When I tried to use the Backing Bean I got the 'Import .. cannot be resolved' Error. Also, the Screen shot below. Also, this attribute does not seem to have any effect in the XHTML. Code snippet below:

       

       

      <rich:treeNode type="fact" adviseNodeOpened="true" iconExpanded="/resources/images/Folder.png" iconCollapsed="/resources/images/Folder.png">

                          #{node.name}

                      </rich:treeNode>

       

       

      I checked in their website (http://docs.jboss.org/richfaces/latest_4_0_X/javadoc/richfaces-components-ui/) as well, and I am not able to find this Attribute in RichFaces 4.x. Is my observation correct? Is there any equivalent way to open the folders by default?

      Untitled.png