[ https://issues.apache.org/jira/browse/TOBAGO-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udo Schnurpfeil resolved TOBAGO-308. ------------------------------------ Resolution: Cannot Reproduce > Tree Rendering Only Root Node > ----------------------------- > > Key: TOBAGO-308 > URL: https://issues.apache.org/jira/browse/TOBAGO-308 > Project: MyFaces Tobago > Issue Type: Bug > Components: Core > Affects Versions: 1.0.9, 1.0.10 > Reporter: Mark P. Mullally > > Only the root node of a tree renders because the > TreeOldNode.getRendersChildren() returns "true". Susequently, the > TreeOldRenderer.getNodesAsJavascript() --> RenderUtil.encode(facesContext, > root) method executes "component.encodeChildren(faceContext)" instead of the > the recusive child loop, which relies on the > TreeOldNodeRenderer.encodeChildren() method that is NOT OVERRIDDEN and the > base implementation is a no-op. Therefore, I don't see how trees ever > rendered correctly? I extended the TreeOldNode to return "false" from > getRendersChildren() so that the TreeOldRenderer.getNodesAsJavascript() --> > RenderUtil.encode() method executes the recursive child loop FIXING THE > ISSUE. Again, HOW DID THIS EVER WORK? AM I MISSING SOMETHING? > Also, The "Old" code is deprecated but no standard "in favor of" comments > exist. What should I be using? MyFaces or Tomahawk tree? > btw...I am using the Feb 28 nightly build snapshot for 1.0.10 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.