0 Replies Latest reply on Jan 4, 2008 10:59 AM by deibys

    RICHFACES TREE MENU

    deibys

      Hello Guys,
      I hope someone can help me, I am new to richfaces framework, first ...Good Work!!! Excellent componets we have for our development . I want to use a rich:tree componet as a menu for my application ....Could anybody help me to make that when they click on a treenode, a div in the page reloads according to the option selected ?

      THIS IS MAIN CONTENT

      <rich:panel>
      <rich:togglePanel value="open" switchType="client" stateOrder="open">
      <f:facet name="open">
      <rich:tree switchType="client" value="#{MenuBean.treeNode}" var="item"
      iconLeaf="/images/gear.gif" iconCollapsed="/images/tree_folder_close.gif"
      iconExpanded="/images/tree_folder_open.gif" icon="" >
      </rich:tree>
      </f:facet>
      </rich:togglePanel>
      </rich:panel>



      I want to reload the "main"div, (preferably ajax request), it will update html content

      Could anyone offer me an example code ? What is the best pattern to do it ?