flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ent (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35169) [FlexJS] ComboBox broken on JS side
Date Mon, 21 Nov 2016 20:04:58 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15684577#comment-15684577
] 

Peter Ent commented on FLEX-35169:
----------------------------------

I checked in a change to ComboBox for the JS code which should now populate the list and pass
the selection into the input field. The main problem was that the ComboBox model was not part
of the JS build.

> [FlexJS] ComboBox broken on JS side
> -----------------------------------
>
>                 Key: FLEX-35169
>                 URL: https://issues.apache.org/jira/browse/FLEX-35169
>             Project: Apache Flex
>          Issue Type: Bug
>            Reporter: Yishay Weiss
>            Assignee: Peter Ent
>             Fix For: Apache FlexJS 0.8.0
>
>
> On the JS side, when providing a dataProvider I get 
> EventDispatcher.js:68 Uncaught TypeError: Type Coercion failed(…)
> I think the problem is here: 
> org.apache.flex.html.ComboBox.prototype.set__dataProvider = function(value) {
>   org.apache.flex.utils.Language.as(this.model, org.apache.flex.core.IComboBoxModel,
true).dataProvider = value;
> };
> this.model is being called instead of get__model in UIElementWrapper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message