0 Replies Latest reply on Sep 23, 2008 2:40 PM by (Ryan_Frishberg)

    [svn] 3323: Fallout from DataGroup/Group work.

      Revision: 3323
      Author: rfrishbe@adobe.com
      Date: 2008-09-23 15:40:21 -0700 (Tue, 23 Sep 2008)

      Log Message:
      -----------
      Fallout from DataGroup/Group work. In a List, before you could throw anything in the list (data, group, skinnablecomponents), and everything would work out of the box. Now, List really only supports data out of the box. To support visual objects and selection, you really should create your own item renderer. We think this is the most common use-case and if someone wants a visual component to support selection, they will create their own item renderer for it.

      Changed itemSelected() in List to check to see if the selected property is on the item/itemRenderer before setting that property. If the "selected" property is not, there we throw a better RTE message (better than a property does not exist one)

      To make it easier for someone to put visual components in a list, we're providing an item renderer they can use, DefaultComplexItemRenderer.

      QE: Yes
      Doc: Yes
      Bugs: SDK-16987
      Reviewer: Deepa (discussed with Glenn)

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16987

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/gumbo-manifest.xml
      flex/sdk/trunk/frameworks/mxml-2009-manifest.xml
      flex/sdk/trunk/frameworks/projects/flex4/manifest.xml
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/List.as

      Added Paths:
      -----------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DefaultComplexItemRenderer.mxml