MyFaces Tobago
  1. MyFaces Tobago
  2. TOBAGO-467

Support for partial rendering for the (old) tree

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.11
    • Fix Version/s: 1.0.12
    • Component/s: Themes
    • Labels:
      None
    • Environment:
      All

      Description

      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>

      1. treeNodeCommand.diff
        5 kB
        Helmut Swaczinna
      2. treeNodeCommand2.diff
        2 kB
        Helmut Swaczinna

        Issue Links

          Activity

          Helmut Swaczinna created issue -
          Hide
          Helmut Swaczinna added a comment -

          Modified renderer and js for treeOld

          Show
          Helmut Swaczinna added a comment - Modified renderer and js for treeOld
          Helmut Swaczinna made changes -
          Field Original Value New Value
          Attachment treeNodeCommand.diff [ 12363701 ]
          Udo Schnurpfeil made changes -
          Assignee Udo Schnurpfeil [ lofwyr ]
          Udo Schnurpfeil made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Udo Schnurpfeil added a comment -

          I've applied the patch, and it seems to work.
          I've added the tree-id as prefix for the new variable, to support more than one tree on one page.

          Show
          Udo Schnurpfeil added a comment - I've applied the patch, and it seems to work. I've added the tree-id as prefix for the new variable, to support more than one tree on one page.
          Udo Schnurpfeil made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 1.0.12 [ 12312498 ]
          Hide
          Volker Weber added a comment -

          these commits breaks the treeListbox component

          Show
          Volker Weber added a comment - these commits breaks the treeListbox component
          Volker Weber made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Helmut Swaczinna added a comment -

          Patch for TreeListboxRenderer

          Show
          Helmut Swaczinna added a comment - Patch for TreeListboxRenderer
          Helmut Swaczinna made changes -
          Attachment treeNodeCommand2.diff [ 12364338 ]
          Bernd Bohmann made changes -
          Assignee Udo Schnurpfeil [ lofwyr ] Bernd Bohmann [ bommel ]
          Bernd Bohmann made changes -
          Affects Version/s 1.0.11 [ 12312376 ]
          Affects Version/s 1.0.12 [ 12312498 ]
          Bernd Bohmann made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Bernd Bohmann made changes -
          Link This issue incorporates TOBAGO-497 [ TOBAGO-497 ]
          Hide
          Bernd Bohmann added a comment -
          Show
          Bernd Bohmann added a comment - See TOBAGO-497
          Bernd Bohmann made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Bernd Bohmann made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Bernd Bohmann made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          57m 1s 1 Udo Schnurpfeil 13/Aug/07 16:32
          In Progress In Progress Resolved Resolved
          21h 46m 1 Udo Schnurpfeil 14/Aug/07 14:18
          Resolved Resolved Reopened Reopened
          37d 11h 3m 2 Bernd Bohmann 25/Sep/07 22:08
          Reopened Reopened Resolved Resolved
          14d 17h 34m 2 Bernd Bohmann 05/Oct/07 18:56
          Resolved Resolved Closed Closed
          45d 21h 30m 1 Bernd Bohmann 20/Nov/07 15:27

            People

            • Assignee:
              Bernd Bohmann
              Reporter:
              Helmut Swaczinna
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development