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

tree2 do not work with clientSideToggle=true and preserveToggle=false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.4-SNAPSHOT
    • None
    • Tree
    • None

    Description

      The reason is that the server side treeModel do not know which nodes are expanded and so do not call decode on them.

      1) In HtmlTreeRenderer.decode
      If a node is expanded or not will be restored from the cookie (client-side) or from a request parameter (server-side)
      There the case that in client-side toggle there is no cookie will not be honored

      2) UITreeData.processNodes
      There the TreeWalker see a "all nodes closed" tree and stops traversing

      Attachments

        Activity

          People

            Unassigned Unassigned
            imario Mario Ivankovits
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: