-
Bug
-
Resolution: Won't Fix
-
Normal
-
None
-
6.0.2, 6.5.0
-
None
<zk> <zscript><![CDATA[ import org.zkoss.zul.DefaultTreeModel; import org.zkoss.zul.DefaultTreeNode; DefaultTreeNode root = new DefaultTreeNode(null, new DefaultTreeNode[] { new DefaultTreeNode("item a"), new DefaultTreeNode("item b"), new DefaultTreeNode("item c", new DefaultTreeNode[] { new DefaultTreeNode("item c1"), new DefaultTreeNode("item c2") }) } ); DefaultTreeModel model = new DefaultTreeModel(root); ]]></zscript> <tree model="${model}" width="150px"> <template name="model"> <treeitem label="${each}" open="true"/> </template> </tree> </zk>
- duplicates
-
ZK-1333 Treeitem 'open' attribute in a template has no affect
- Closed