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

                 Key: TOMAHAWK-727
                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-727
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Tree
    Affects Versions: 1.1.5-SNAPSHOT
            Reporter: Mario Ivankovits


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to