ICEfaces
  1. ICEfaces
  2. ICE-8216

ace:dataTable, rowSelectListener not working

    Details

    • Type: Bug Bug
    • 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:
      Any
    • Assignee Priority:
      P1

      Description

      Event listeners specified via the rowSelectListener attribute are not being called. This was discovered while working on ICE-8209, in the dynamic menu tutorial.

      This issue can be reproduced in the showcase application by adding a test listener to a backing bean like the following:

      public void testListener(org.icefaces.ace.event.SelectEvent e) { System.out.println("rowSelectListener test"); }

      ...and adding the following attributes to a data table instance:

      selectionMode="single" rowSelectListener="#{dataTableBean.testListener}"

      The string "rowSelectListener test" will never be printed in the console when selecting rows on the page. This problem was introduced at revision 29269. If you update the ace folder to a previous revision, 29267 for example, and use the resulting jar in the showcase app, you will see the test string printed in the console.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29336 Wed Jun 06 11:27:29 MDT 2012 nils.lundquist ICE-8216 - Further derived broadcast and queueEvent from UIData & UIComponentBase implementations, calling into UIData.queueEvent as UIData itself does to its superclass, UIComponentBase, was causing issues.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: