On 11/22/16, 3:16 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
<carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote:

>Hi Peter,
>
>another thing I think is "failing" is the fact I need to explicitly set
>labelField to "label" or I get [object Object]
>I think List should asume labelField is "label" by default like in old
>Flex

The simplest list takes an array of strings, so there is no labelField.
The logic in MX List had some try/catch blocks and other "if" statements
that we really don't want to have in an inner loop.  IMO, it is a classic
example of just-in-case instead of just-in-time code that made the Flex
SDK fat and slow.


>One side effect not related to this problem is that this:
>
>public class List extends org.apache.flex.html.List
>
>needs
>
>import org.apache.flex.html.List;
>
>or compilation fails.
>
>I think this is a compiler error, since you should not need to make the
>import.
>
>If you think so I'll fill a bug in JIRA
>
>

Did this work in MXMLC?  If so, then yes, file a JIRA.

Thanks,
-Alex

Reply via email to