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

          People

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

            Dates

            • Created:
              Updated:

              Development