You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Harbs (JIRA)" <ji...@apache.org> on 2017/07/09 18:43:00 UTC

[jira] [Resolved] (FLEX-35336) Assigning a dataProvider to js:DropDownList causes RTE

     [ https://issues.apache.org/jira/browse/FLEX-35336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harbs resolved FLEX-35336.
--------------------------
       Resolution: Fixed
         Assignee: Harbs
    Fix Version/s: Apache FlexJS 0.9.0

Fixed in a94cb40f26be300ac4ba5775885fd9aece304b6f

> Assigning a dataProvider to js:DropDownList causes RTE
> ------------------------------------------------------
>
>                 Key: FLEX-35336
>                 URL: https://issues.apache.org/jira/browse/FLEX-35336
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.8.0
>            Reporter: Harbs
>            Assignee: Harbs
>             Fix For: Apache FlexJS 0.9.0
>
>
> Assigning a dataProvider using mxml and data binding causes a RTE unless the value is initialized.
> main mxml:
> {code:xml}
> <?xml version="1.0" encoding="utf-8"?>
> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>                 xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:ns1="*" >
>     <js:valuesImpl>
>         <js:SimpleCSSValuesImpl />
>     </js:valuesImpl>
>     <js:initialView>
>     <ns1:InitialView/>
>     </js:initialView>
> </js:Application>
> {code}
> InitialView.mxml:
> {code:xml}
> <?xml version="1.0" encoding="utf-8"?>
> <js:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic"
>          width="100%" height="100%" initComplete="init()">
>          <fx:Script>
>              <![CDATA[
>                 import org.apache.flex.collections.ArrayList;
>                  [Bindable]private var categories:ArrayList;
>                 private function init():void{
>                 }
>              ]]>
>          </fx:Script>
>          <js:beads>
>             <js:ViewDataBinding/>
>          </js:beads>
>          <js:TextButton id="button" text="Press Me!"/>
>         <js:DropDownList id="categoryDD" width="132" y="30"
>             dataProvider="{categories}" selectedIndex="0"/>
>         </js:View>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)