You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Geoff Callender (JIRA)" <ji...@apache.org> on 2012/04/22 15:09:34 UTC

[jira] [Created] (TAP5-1915) Tree needs a "multiple" parameter

Geoff Callender created TAP5-1915:
-------------------------------------

             Summary: Tree needs a "multiple" parameter
                 Key: TAP5-1915
                 URL: https://issues.apache.org/jira/browse/TAP5-1915
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
            Reporter: Geoff Callender


The Tree component assumes multiple selections are possible, but the most common use case is to select one leaf, automatically de-selecting the previously selected leaf. 

This behaviour could be chosen by a "multiple" parameter, analogous the HTML <select> tag's "multiple" attribute. Default value should probably be "false".

--
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

        

[jira] [Closed] (TAP5-1915) Tree needs a "multiple" parameter

Posted by "Geoff Callender (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoff Callender closed TAP5-1915.
---------------------------------

    Resolution: Invalid

I've learnt that if you don't want multiple selections then don't provide a selectionModel. Single selection is something you handle without it.
                
> Tree needs a "multiple" parameter
> ---------------------------------
>
>                 Key: TAP5-1915
>                 URL: https://issues.apache.org/jira/browse/TAP5-1915
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Geoff Callender
>
> The Tree component assumes multiple selections are possible, but the most common use case is to select one leaf, automatically de-selecting the previously selected leaf. 
> This behaviour could be chosen by a "multiple" parameter, analogous the HTML <select> tag's "multiple" attribute. Default value should probably be "false".

--
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

        

[jira] [Closed] (TAP5-1915) Tree needs a "multiple" parameter

Posted by "Geoff Callender (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoff Callender closed TAP5-1915.
---------------------------------

    Resolution: Invalid

I've learnt that if you don't want multiple selections then don't provide a selectionModel. Single selection is something you handle without it.
                
> Tree needs a "multiple" parameter
> ---------------------------------
>
>                 Key: TAP5-1915
>                 URL: https://issues.apache.org/jira/browse/TAP5-1915
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Geoff Callender
>
> The Tree component assumes multiple selections are possible, but the most common use case is to select one leaf, automatically de-selecting the previously selected leaf. 
> This behaviour could be chosen by a "multiple" parameter, analogous the HTML <select> tag's "multiple" attribute. Default value should probably be "false".

--
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