0 Replies Latest reply on Mar 17, 2009 11:59 AM by (Paul_Reilly)

    [svn:fx-trunk] 5353: * Added compiler error for Halo Navigators containing non-Containers

    Level 1
      Revision: 5353
      Author: preilly@adobe.com
      Date: 2009-03-17 12:59:06 -0700 (Tue, 17 Mar 2009)

      Log Message:
      -----------
      * Added compiler error for Halo Navigators containing non-Containers
      as their first level child.

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-19317

      API Change: NO

      Reviewer: Pete F.

      Code-level description of changes:

      compiler/mxml/lang/StandardDefs.java

      Added getContainerPackage(), isHaloNavigator(), CLASS_VIEWSTACK,
      CLASS_ACCORDION, and PACKAGE_MX_CONTAINERS.

      compiler/mxml/builder/ComponentBuilder.java

      Modified
      ComponentBuilder.ComponentAttributeHandler.nestedDeclaration() to
      report an error if a non-container is declared as a child of a
      Halo navigator.

      compiler_en.properties

      Added HaloNavigatorsRequireHaloContainerChildren message.

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

      Modified Paths:
      --------------
      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_en.properties