MyFaces Tobago
  1. MyFaces Tobago
  2. TOBAGO-570

<tc:sheet> selection is not preserved in sortable sheet

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.13, 1.0.14
    • Fix Version/s: 1.0.15, 1.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      I have an <tc:sheet> with sortable <tc:column sortable="true"> elements where a single row can be selected. Lets image the sheet has 5 rows with the ids 1 to 5. I select the 4th row with the id 4. After that I click on the column to sort the ids descending. After sorting the 4th row is still selected, but because of the sorting the id of the selected row is 2. What I expected to happen, is that the row with the id 4 is still selected.

      1. TOBAGO-570.diff
        3 kB
        Helmut Swaczinna

        Activity

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

        Problem solved.
        Remark: the selected rows are only restored when there's no SortActionListener set.
        With a SortActionListener you have to this on your own.

        Show
        Helmut Swaczinna added a comment - Problem solved. Remark: the selected rows are only restored when there's no SortActionListener set. With a SortActionListener you have to this on your own.
        Helmut Swaczinna made changes -
        Field Original Value New Value
        Attachment TOBAGO-570.diff [ 12374027 ]
        Helmut Swaczinna made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Volker Weber made changes -
        Assignee Volker Weber [ volkerweber ]
        Hide
        Volker Weber added a comment -

        patch applied

        Show
        Volker Weber added a comment - patch applied
        Volker Weber made changes -
        Fix Version/s 1.1.0 [ 12312205 ]
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hide
        Volker Weber added a comment -

        please merge the patch to 1.0.x branch

        Show
        Volker Weber added a comment - please merge the patch to 1.0.x branch
        Volker Weber made changes -
        Assignee Volker Weber [ volkerweber ] Bernd Bohmann [ bommel ]
        Hide
        Volker Weber added a comment -

        needs merge to 1.0.x

        Show
        Volker Weber added a comment - needs merge to 1.0.x
        Volker Weber made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Bernd Bohmann made changes -
        Affects Version/s 1.0.14 [ 12312878 ]
        Affects Version/s 1.0.13 [ 12312766 ]
        Fix Version/s 1.0.15 [ 12312929 ]
        Bernd Bohmann made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Hide
        Bernd Bohmann added a comment -

        merged to 1.0.x

        Show
        Bernd Bohmann added a comment - merged to 1.0.x
        Bernd Bohmann made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Udo Schnurpfeil made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        50d 2h 17m 1 Helmut Swaczinna 25/Jan/08 12:19
        Patch Available Patch Available Resolved Resolved
        4h 4m 1 Volker Weber 25/Jan/08 16:24
        Resolved Resolved Reopened Reopened
        1d 1h 34m 1 Volker Weber 26/Jan/08 17:58
        Reopened Reopened In Progress In Progress
        17h 19m 1 Bernd Bohmann 27/Jan/08 11:17
        In Progress In Progress Resolved Resolved
        12m 33s 1 Bernd Bohmann 27/Jan/08 11:29
        Resolved Resolved Closed Closed
        773d 20h 34m 1 Udo Schnurpfeil 11/Mar/10 08:04

          People

          • Assignee:
            Bernd Bohmann
            Reporter:
            Tobias Glensk
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development