0 Replies Latest reply on Dec 14, 2009 12:09 PM by Peter Farland

    [svn:fx-trunk] 12912: With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed .

    Peter Farland Level 3

      Revision: 12912

      Revision: 12912

      Author:   pfarland@adobe.com

      Date:     2009-12-14 12:08:35 -0800 (Mon, 14 Dec 2009)

      Log Message:

      ***********

      With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed.

       

      An unqualified id property will no longer be seen as a setter for a normal public, writable, non-static "id" property - which matches Flex 3 behavior.

       

      As in earlier versions of Flex, the mechanism to retain MXML id attribute information at runtime is to implement mx.core.IMXMLObject. The compiler will generate a call to the intialized() method and pass in the id information.

       

      Note: One exception to this rule seems to be UIComponent which instead get id attribute information via mx.core.IDeferredInstantiationUIComponent (although there seems to be a TODO in the codebase to remove this mechanism and thus should not be relied on by third parties).

       

      QE notes: Please add tests for the TLF id property on flow elements (div, span, p, etc).

      Doc notes: Please check that we have not documented

      Bugs: N/A

      Reviewer: Paul

      Tests run: Checkintests, local test cases.

      Is noteworthy for integration: Yes

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va

       

      Removed Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IID.as