[
http://issues.apache.org/jira/browse/MYFACES-760?page=comments#action_12356644
]
Andrew Efremov commented on MYFACES-760:
----------------------------------------
I found it
<!-- Note that "tree" will not work as-is. Tree either needs a facelets
TagHandler, or a refactoring of
org.apache.myfaces.custom.tree.taglib.TreeTag
and org.apache.myfaces.custom.tree.HtmlTree
to remove non-standard internal "model" attribute usage. -->
<tag>
<tag-name>tree</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlTree</component-type>
<renderer-type>org.apache.myfaces.HtmlTree</renderer-type>
</component>
</tag>
<tag>
<tag-name>tree2</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlTree2</component-type>
<renderer-type>org.apache.myfaces.HtmlTree2</renderer-type>
</component>
</tag>
But I don't know how to do it. Can anyone help me? Or post some tutorial how to
do it?
> Tree2 setLeaf(false) error
> --------------------------
>
> Key: MYFACES-760
> URL: http://issues.apache.org/jira/browse/MYFACES-760
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: 1.1.0
> Environment: Tested in JBoss 4.0.3 with Seam
> Reporter: Andrew Efremov
> Assignee: sean schofield
>
> when trying to add nodes to tree2
> TreeNodeBase tree = new TreeNodeBase("document", node.getName(),
> node.getId().toString(), false);
> result node have tree.isLeaf() == true;
> the same is when you trying explicitly set Leaf
> tree.setLeaf(false);
> result node have tree.isLeaf() == true;
--
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