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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: