ICEfaces
  1. ICEfaces
  2. ICE-8151

Add support for modifier keys for ace:list selection support

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA1
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace:list component
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      The current selection behaviour for ace:list is to support multiple selection via mouse-clicks. This presents an issue when you've selected one or more rows in the list, re-ordered them, and would then like to select a different row or set of rows. You first have to click each previously selected row to deselect it, which is tedious.

      A better approach would be to support the standard keyboard modifier keys when doing list row selection, as follows:

      - Click (no modifier keys): Deselects any previously selected rows, selects the current row.
      - Ctrl/Command-Click: Selects the current row, keeps any previously selected rows selected.
      - Shift-Click: Selects the range of rows between the last selected row and the current one.

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 3.1.0.BETA2 [ 10336 ]
        Fix Version/s 3.1 [ 10312 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Assignee Priority P2
        Assignee Nils Lundquist [ nils.lundquist ]
        Ken Fyten made changes -
        Salesforce Case []
        Affects [Documentation (User Guide, Ref. Guide, etc.)] [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29287 Mon Jun 04 17:09:15 MDT 2012 nils.lundquist ICE-8151 - Added first revision of improved list selection. Also added double click item migration to maintain consistency with common dual list components.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/listcontrol/listcontrol.js
        Hide
        Nils Lundquist added a comment - - edited

        Added first revision of new selection functionality.

        Also added double click migrations to offer greater consistency with the most familiar dual list components.

        Double+click = shift item to the right
        Shift + Double+click = shift item to the left

        Ala tab and shift+tab.

        Revision #29287
        Committed by nils.lundquist
        Moments ago
        ICE-8151 - Added first revision of improved list selection.
        Also added double click item migration to maintain consistency with common dual list components.

        Show
        Nils Lundquist added a comment - - edited Added first revision of new selection functionality. Also added double click migrations to offer greater consistency with the most familiar dual list components. Double+click = shift item to the right Shift + Double+click = shift item to the left Ala tab and shift+tab. Revision #29287 Committed by nils.lundquist Moments ago ICE-8151 - Added first revision of improved list selection. Also added double click item migration to maintain consistency with common dual list components.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29293 Tue Jun 05 10:40:07 MDT 2012 nils.lundquist ICE-8151 - Improved double click migration in dual list cases and added a property to toggle it.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListMeta.java
        Hide
        Ken Fyten added a comment -

        Add selection key descriptions to TLD.

        Show
        Ken Fyten added a comment - Add selection key descriptions to TLD.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29340 Wed Jun 06 11:57:44 MDT 2012 nils.lundquist ICE-8151 - Extended ace:list selection TLD to cover the new behaviour.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListMeta.java
        Hide
        Nils Lundquist added a comment -

        Revision #29340
        Committed by nils.lundquist
        Moments ago
        ICE-8151 - Extended ace:list selection TLD to cover the new behaviour.

        Show
        Nils Lundquist added a comment - Revision #29340 Committed by nils.lundquist Moments ago ICE-8151 - Extended ace:list selection TLD to cover the new behaviour.
        Nils Lundquist made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29345 Wed Jun 06 13:31:24 MDT 2012 nils.lundquist ICE-8151 - Improved double click migration selector to accomidate for a div inserted between the right hand list its parent when dual list mode is used. Div was added to enabled the vertically centered middle control positioning.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29410 Fri Jun 08 14:24:20 MDT 2012 nils.lundquist ICE-8153 - Deselections on all drags and double click migration.
        ICE-8151 - Improvements to eventing. Only selected indexes have deselection added. Deselected lists during associated list deselection trigger a deselect event only if they have deselections to send.
        ICE-8234 - Selection property converted into SelectionMode.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/list/list.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/list/listMulti.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListMeta.java
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: