You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Lance (JIRA)" <ji...@apache.org> on 2012/04/24 17:17:36 UTC

[jira] [Commented] (TAP5-1916) Tree client should handle Zone or page returned from events

    [ https://issues.apache.org/jira/browse/TAP5-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260646#comment-13260646 ] 

Lance commented on TAP5-1916:
-----------------------------

I think that you might have misunderstood what is considered "in scope" for the tree component to manage and what is left up to the developer:
1. The tree component keeps track of which "folders" are open and closed so that when you navigate away and come back, the tree state is maintained.
2. The tree component does not concern itself with leaf actions. A developer can customise leaf actions by specifying a "label" block which may contain a checkbox for example.
                
> Tree client should handle Zone or page returned from events
> -----------------------------------------------------------
>
>                 Key: TAP5-1916
>                 URL: https://issues.apache.org/jira/browse/TAP5-1916
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Geoff Callender
>
> Tree would be much more usable if it responded to a Zone or page returned from the NODE_SELECTED and NODE_UN_SELECTED event handlers.
> This would address the most common use case for a tree: displaying a page with a tree on the left, user selects a node, the node highlights, and a zone on the right is updated with info from the server about the node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira