0 Replies Latest reply on Jan 5, 2010 5:31 PM by Jason Szeto

    [svn:fx-trunk] 13296: Change event split into change and valueCommit for list based components

    Jason Szeto Level 3

      Revision: 13296

      Revision: 13296

      Author:   jszeto@adobe.com

      Date:     2010-01-05 17:31:52 -0800 (Tue, 05 Jan 2010)

      Log Message:

      ***********

      Change event split into change and valueCommit for list based components

       

      http://bugs.adobe.com/jira/browse/SDK-24803 - When selectedItem/selectedIndex is set programatically, list should dispatch a valueCommit event, not a change event

       

      Refactored selection properties into helper functions which parameterize dispatching changing/change events. Changed all internal setting of the selection properties to use these helper functions.

       

      Updated binding metadata for selection properties.

       

      QE notes: Update tests

      Doc notes: Docs should mention valueCommit versus change/changing

      Bugs: SDK-24803

      Reviewer: Ryan

      Tests run: checkintests, ButtonBar, List, ComboBox, DropDownList

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-24803

          http://bugs.adobe.com/jira/browse/SDK-24803

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBas e.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownList Base.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as