0 Replies Latest reply on Jun 9, 2009 4:59 PM by deepa subramaniam (adobe)

    [svn:fx-trunk] 7696: SkinnableDataContainer needs to always add an event handler for the  ' rendererAdd' event, since thats when it comes in via 'updateRenderer()' to set the owner property and adjust labelText, etc.

    deepa subramaniam (adobe) Level 2

      Revision: 7696

      Author:   dsubrama@adobe.com

      Date:     2009-06-09 16:30:49 -0700 (Tue, 09 Jun 2009)

       

      Log Message:

      ***********

      SkinnableDataContainer needs to always add an event handler for the  'rendererAdd' event, since thats when it comes in via 'updateRenderer()' to set the owner property and adjust labelText, etc.

       

      Reviewer: Ryan

      Tests: Checkintests, Mustella SkinnableDataContainer - PASS

      QA: No

      Doc: No - but now Stephen Gilson's custom SkinnableDataContainer overriding itemToLabel() example will now work.

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as