Alex, I filed the import issue here: https://issues.apache.org/jira/browse/FLEX-35179
Thanks 2016-11-22 16:57 GMT+01:00 Alex Harui <aha...@adobe.com>: > > > 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 > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.