[
http://issues.apache.org/jira/browse/TOMAHAWK-584?page=comments#action_12426288
]
Mike Kienenberger commented on TOMAHAWK-584:
--------------------------------------------
- Wiki documentation doesn't state how to set up a TreeModel using TreeNodes,
although it's easy to do if you understand tree models and browse the apis.
TreeNode root = new MyTreeNode(myData);
TreeModel myTreeModel = new TreeModelBase(root);
- What TreeNode docs are on the wiki mislead user into thinking that several
required interface methods are unimportant.
-- specifically setDescription provides the label on the displayed tree item.
Unclear what identifier does, but probably is the JSF id value.
> Improve the Tree 2 documentation
> --------------------------------
>
> Key: TOMAHAWK-584
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-584
> Project: MyFaces Tomahawk
> Issue Type: Improvement
> Components: Tree2
> Reporter: Wendy Smoak
> Assigned To: Mike Kienenberger
>
> Mike Kienenberger made a few comments about missing documentation for Tree 2:
> Most of the documentation is in the wiki, except for the tld.
> However, three attributes aren't documented at all: value, var, and
> varNodeToggler.
> No documentation on what the allowable facets are.
> No documentation stating that expand and collapse facets need to be UIGraphic
> components.
> Discussion thread:
> http://www.mail-archive.com/dev%40myfaces.apache.org/msg16266.html
--
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