Hi Alex,

I tried with you recent commit and selection is not working. The examples
is similar to what you posted:

<ui:ListBase>
        <ui:beads>
            <models:ArraySelectionModel labelField="label">
                <js:dataProvider>
                    <fx:Array>
                        <fx:Object label="Install SIM Card"/>
                        <fx:Object label="Install SIM Card 1"/>
                        <fx:Object label="Install SIM Card 2"/>
                    </fx:Array>
                </js:dataProvider>
            </models:ArraySelectionModel>

            <models:ViewportModel/>

            <support:DataGroup/>

            <support:ScrollingViewport/>

            <beads:ListView/>

            <controllers:ListSingleSelectionMouseController/>
            <layout:VerticalLayout/>
            <ui:ItemRendererClassFactory>
                <ui:itemRendererFactory>
                    <fx:Component>
                        <support:StringItemRenderer />
                    </fx:Component>
                </ui:itemRendererFactory>
            </ui:ItemRendererClassFactory>
            <beads:TextItemRendererFactoryForArrayData/>
        </ui:beads>
    </ui:ListBase>




2016-11-26 8:34 GMT+01:00 Alex Harui <aha...@adobe.com>:

>
>
> On 11/25/16, 10:22 AM, "Alex Harui" <aha...@adobe.com> wrote:
>
> >
> >
> >On 11/25/16, 7:41 AM, "carlos.rov...@gmail.com on behalf of Carlos
> Rovira"
> ><carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com>
> >wrote:
> >
> >>Hi Alex,
> >>
> >>I'm looking through the different components and can't see the the way to
> >>assign the items to the container (removing the div from DataGroup). Can
> >>you give some clue about where to look?
> >
> >I don't have much time right now.  It is a holiday in the US.  IIRC, Peter
> >recently made some changes so the outer component can be the IContentView.
>
> MXMLItemRenderer was recently set up to not need an separate IContentView.
>
> >
> >>
> >>One more thing, beads names are about "Selection" but when I tun the
> >>example nothing is selectable...Don't understand that
> >
> >Looks like List is sending an "initComplete" event that drives the setup
> >of the selection event management.  It probably shouldn't do that or that
> >code needs to be moved to ListBase.  I'll look into it more if I get some
> >time this evening.
>
> I made a few changes to have the beads use beadAdded and selection seems
> to be working now.
>
> -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.

Reply via email to