Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35249

Data binding fails in MDL Container with constants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.8.0
    • Apache FlexJS 0.8.0
    • FlexJS
    • None
    • macOS Sierra
    • Important

    Description

      Trying to bind a constant in a container component doesn't actually work:

      <mdl:TabBarPanel xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:js="library://ns.apache.org/flexjs/basic"
                       xmlns:mdl="library://ns.apache.org/flexjs/mdl">
      
          <fx:Script>
              <![CDATA[
                  import org.apache.flex.mdl.materialIcons.MaterialIconsType;
              ]]>
      	</fx:Script>
      
          <mdl:beads>
              <js:ContainerDataBinding/>
          </mdl:beads>
      
          <mdl:MaterialIcon text="{MaterialIconsType.FACE}"/>
          <mdl:MaterialIcon text="{MaterialIconsType.ADD}"/>
      
      </mdl:TabBarPanel>    
      

      Attachments

        Activity

          People

            pete21 Piotr Zarzycki
            carlosrovira Carlos Rovira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: