MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-116

TreeTable doesn't work properly while updating data

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tree Table
    • Labels:
      None

      Description

      The TreeTable component cannot handle updating data. If I have inputs instead of static text fields,
      and I try to modify any node's value, it doesn't work. I've noticed, that if I change a value
      of the first node in a certain column, the value goes to the last visible node of this particular
      column. This happens within treeColumn, and ordinary columns as well.

      I have prepared three simple test files (packed with zip), which will show you the problem:

      • Test.java (to map in the faces-config.xml as a 'test')
      • test.jsp
      • TreeItem.java (stores node value)

      When you run the example, please try to change following nodes' values and click "Send request" button
      to see, how the model behaves.

      Thank you in advance,
      Pawel

      1. treeTableTest.zip
        2 kB
        Pawel Czerwinski

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        114d 21h 37m 1 17/Mar/06 20:35
        Patch Available Patch Available Open Open
        181d 8h 37m 1 Mike Kienenberger 15/Sep/06 06:13
        Hide
        Martin Marinschek added a comment -

        This is not really easy to fix - I had a look into the Tree-component, and it doesn't really behave as it should.

        It lacks the row-handling that dataTable has, and I suppose that it is quite some work to get the tree up to the same level.

        regards,

        Martin

        Show
        Martin Marinschek added a comment - This is not really easy to fix - I had a look into the Tree-component, and it doesn't really behave as it should. It lacks the row-handling that dataTable has, and I suppose that it is quite some work to get the tree up to the same level. regards, Martin
        Hide
        Mike Kienenberger added a comment -

        There's no patch available yet. The status was changed in error.

        Show
        Mike Kienenberger added a comment - There's no patch available yet. The status was changed in error.
        Mike Kienenberger made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Daniel Ray added a comment -

        Did the patch get applied or is it available for download? I've tried the forceId mechanism but the input components within a treeColumn maintain the same id and name causing the last item to be selected instead of the individual selections.

        Many thanks.

        Show
        Daniel Ray added a comment - Did the patch get applied or is it available for download? I've tried the forceId mechanism but the input components within a treeColumn maintain the same id and name causing the last item to be selected instead of the individual selections. Many thanks.
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12356785 ] MyFaces Workflow2 [ 12361020 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12356281 ]  MyFaces Workflow [ 12356785 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12354231 ] MyFaces Workflow2 [ 12356281 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12348807 ] MyFaces Workflow [ 12354231 ]
        Anonymous made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347469 ] MyFaces Workflow2 [ 12348807 ]
        Matthias Weßendorf made changes -
        Component/s Tree Table [ 12310756 ]
        sean schofield made changes -
        Workflow jira [ 12344005 ] MyFaces Workflow [ 12347469 ]
        sean schofield made changes -
        Component/s Tomahawk [ 12310162 ]
        Key MYFACES-859 TOMAHAWK-116
        Component/s Other [ 12310767 ]
        Project MyFaces Core [ 10600 ] MyFaces Tomahawk [ 12310272 ]
        Martin Marinschek made changes -
        Priority Blocker [ 1 ] Major [ 3 ]
        Hide
        Martin Marinschek added a comment -

        I am reducing this to major as it only effects one of the extended components.

        A patch would be very welcome here, just look at how other components are implemented!

        regards,

        Martin

        Show
        Martin Marinschek added a comment - I am reducing this to major as it only effects one of the extended components. A patch would be very welcome here, just look at how other components are implemented! regards, Martin
        Pawel Czerwinski made changes -
        Field Original Value New Value
        Attachment treeTableTest.zip [ 12320857 ]
        Hide
        Pawel Czerwinski added a comment -

        Files for tests

        Show
        Pawel Czerwinski added a comment - Files for tests
        Pawel Czerwinski created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Pawel Czerwinski
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development