0 Replies Latest reply on Sep 17, 2007 5:56 AM by Amin Abu-Taleb

    rich:tree & Struts 2?

    Amin Abu-Taleb Newbie

      Hi guys!, does anyone knows how to use rich:tree in Struts 2?
      I tried to use that:

       <div style="float:left;width:300px">
       <f:facet name="header">
       <div class="rich-panel-header ">
       Arbol JSF + Ajax
       <rich:tree switchType="ajax" style="width:300px" value="#{action.data}" var="item" nodeFace="#{item.type}">
       <rich:treeNode type="root" ajaxSubmitSelection="true">
       <h:outputText value="#{item.type}" />
       <rich:treeNode type="folder" ajaxSubmitSelection="true">
       <h:outputText value="#{item.name}" />
       <rich:treeNode type="document" ajaxSubmitSelection="true">
       <h:outputText value="#{item.name}" />

      But it only shows folder names, neither icons nor expand/collapse signs.
      And when i try to expand a folder, it doesn't do anything.

      Any idea?