ICEfaces
  1. ICEfaces
  2. ICE-4409

RowSelectorEvent doesn't contain all selected rows

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      XP, Tomcat
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      When using enhancedMultiple="true", just the last selected row will be found in RowSelectorEvent.selectedRows when using CTRL+MouseButton. Due to method signature and documentation, all selected rows are expected.

      - Part of xhtml:
      <ice:rowSelector value="#{item.selected}" multiple="true" enhancedMultiple="true"
      selectionListener="#{simpleTableBean.rowSelectionListener}"/>


      - Part of Bean:
      public void rowSelectionListener(RowSelectorEvent event) {
      ...
      }

      Please note: The enhanced selection itself works as considered, but the event doesn't transport this information.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Hide
        Ken Fyten added a comment -

        This is a documentation issue, the event is behaving as intended. Only those rows selected as part of the context of a particular selection event are included in the event itself. You need to refer to the table model to see the total select row state.

        We will improve the JavaDoc for the selection event to make this clear.

        Show
        Ken Fyten added a comment - This is a documentation issue, the event is behaving as intended. Only those rows selected as part of the context of a particular selection event are included in the event itself. You need to refer to the table model to see the total select row state. We will improve the JavaDoc for the selection event to make this clear.
        Adnan Durrani made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.8.1 [ 10170 ]
        Resolution Fixed [ 1 ]
        Hide
        Adnan Durrani added a comment -

        Tlddocs and javadocs added.

        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\RowSelectorEvent.java
        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\rowselector-renderer.xml
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\rowselector-renderer.xml
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\RowSelectorEvent.java
        Completed: At revision: 18834

        Show
        Adnan Durrani added a comment - Tlddocs and javadocs added. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\RowSelectorEvent.java Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\rowselector-renderer.xml Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\rowselector-renderer.xml Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\RowSelectorEvent.java Completed: At revision: 18834
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18834 Mon May 04 10:50:10 MDT 2009 adnan.durrani Fix for ICE-4409 (RowSelectorEvent doesn't contain all selected rows)
        Explanation added to the tld and java doc.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/rowselector-renderer.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/RowSelectorEvent.java
        Stefan Zeller made changes -
        Field Original Value New Value
        Salesforce Case [50070000008LkWM]
        Stefan Zeller created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Stefan Zeller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: