Hi,

I tried another approach to display detail data for a tree node.
The detail data is displayed in a panel on the page and when the
user clicks a node the panel should be reloaded via ajax. But the
whole page is reloaded always when the user clicks a node.

      <tc:tree id="historieTree"
        value="#{workflowController.tree}" 
        state="#{workflowController.treeState}"               
        idReference="userObject.id"
        nameReference="userObject.name"
        showIcons="true"
        showJunctions="true"
        showRootJunction="true"
        showRoot="true"
        selectable="none"
        mutable="false"
        tipReference="userObject.name">
        <f:facet name="treeNodeCommand">
          <tc:command action="#{workflowController.treeAction}">
            <tc:attribute name="renderedPartially" 
value=":testPage:detailPanel"/>
          </tc:command>                    
        </f:facet>
      </tc:tree>

Regards
Helmut

Reply via email to