Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-116

TreeTable doesn't work properly while updating data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Tree Table
    • 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

      Attachments

        1. treeTableTest.zip
          2 kB
          Pawel Czerwinski

        Activity

          People

            Unassigned Unassigned
            czerwiu Pawel Czerwinski
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: