You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Wendy Smoak (JIRA)" <de...@myfaces.apache.org> on 2006/08/07 20:38:13 UTC

[jira] Created: (TOMAHAWK-584) Improve the Tree 2 documentation

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


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

        

[jira] Commented: (TOMAHAWK-584) Improve the Tree 2 documentation

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-584?page=comments#action_12436805 ] 
            
Mike Kienenberger commented on TOMAHAWK-584:
--------------------------------------------

Ok.  Converted to xdoc.   Still need to make all of these other changes, though.

> 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

        

[jira] Commented: (TOMAHAWK-584) Improve the Tree 2 documentation

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-584?page=comments#action_12436780 ] 
            
Mike Kienenberger commented on TOMAHAWK-584:
--------------------------------------------

Well, this is going to be a bit more work.

tree2 was done in apt format, and I'll have to convert it all into xdoc format.


> 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

        

[jira] Commented: (TOMAHAWK-584) Improve the Tree 2 documentation

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-584?page=comments#action_12426311 ] 
            
Mike Kienenberger commented on TOMAHAWK-584:
--------------------------------------------

How to perform an action and know which node is currently selected:

Sean wrote......
===============================
Store a reference to your tree in your backing bean with:

<t:tree2 id="foo" ... binding="#{treeBacker.tree}">

Then in your action method you have

public String selectedNode()
{
    this.selectedNode = tree.getNode();
    return("main");
}

The tree always knows the current node when processing an event (much
like a data table knows the current row.)

> 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

        

[jira] Commented: (TOMAHAWK-584) Improve the Tree 2 documentation

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-584?page=comments#action_12426308 ] 
            
Mike Kienenberger commented on TOMAHAWK-584:
--------------------------------------------

On 7/19/06, Romain PELISSE <ro...@atosorigin.com> wrote:
>  the varNodeToggler is a session bean created by the component. The
> varNodeToggler will stored the state of the tree and be used by the
> framework to render the tree

> 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

        

[jira] Commented: (TOMAHAWK-584) Improve the Tree 2 documentation

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ 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