Support for partial rendering for the (old) tree
------------------------------------------------

                 Key: TOBAGO-467
                 URL: https://issues.apache.org/jira/browse/TOBAGO-467
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Themes
    Affects Versions: 1.0.12
         Environment: All
            Reporter: Helmut Swaczinna


Added support for partial rendering and onclick for the (old) tree. And it's 
now possible to use multi node selection and
the treeNodeCommand together. Source code is attached.

Example:

    <tc:tree id="sendungenTree"
      value="#{sendungenController.resultTree}" 
      state="#{sendungenController.treeState}"               
      idReference="userObject.id"
      nameReference="userObject.name"
      showIcons="true"
      showJunctions="true"
      showRootJunction="false"
      showRoot="false"
      selectable="multiLeafOnly"
      mutable="false">
      <f:facet name="treeNodeCommand">
        <tc:command action="#{sendungenController.treeAction}">
          <tc:attribute name="renderedPartially" 
value=":sendungPage:resultView:panel"/>
        </tc:command>
      </f:facet>
    </tc:tree>

or

      <f:facet name="treeNodeCommand">
        <tc:command onclick="doSomething()"/>
      </f:facet>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to