Tree: incorrect isLeaf() on decode if cacheable model is used
-------------------------------------------------------------

                 Key: RF-4809
                 URL: https://jira.jboss.org/jira/browse/RF-4809
             Project: RichFaces
          Issue Type: Bug
            Reporter: Nick Belaevski


                <rich:tree id="tree" switchType="ajax" 
value="#{dataService.rootNode}" var="item" 
                        treeNodeVar="treeNode" nodeFace="#{treeNode.leaf ? 
'leaf' : 'node'}">
                        <rich:treeNode id="node" type="node">
                                <h:outputText value="#{item} 
#{testBean.timeString}" />
                        </rich:treeNode>
                        <rich:treeNode id="leaf" type="leaf">
                                <rich:panel header="Panel">
                                        <h:outputText value="#{item} 
#{testBean.timeString}" />
                                </rich:panel>
                        </rich:treeNode>
                </rich:tree>

Nodes aren't expanded until  preserveModel="none" set

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to