myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. Swaczinna" <swaczi...@wlp-systems.de>
Subject [Tobago] renderedPartially doesn't work in treeNodeCommand
Date Tue, 10 Apr 2007 13:05:38 GMT
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

Mime
View raw message