sorry the email just sent :)
mdl:List css:
List
{
IBeadView: ClassReference("org.apache.flex.mdl.beads.views.ListView");
IBeadModel:
ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
IBeadLayout: ClassReference(null);
/*"org.apache.flex.html.beads.layouts.VerticalLayout"*/
IDataProviderItemRendererMapper:
ClassReference("org.apache.flex.html.beads.DataItemRendererFactoryForArrayData");
IItemRendererClassFactory:
ClassReference("org.apache.flex.core.ItemRendererClassFactory");
IItemRenderer:
ClassReference("org.apache.flex.mdl.itemRenderers.ListItemRenderer");
}
then in the strand is normal to have code that retrieve a bead for example:
listModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
listModel.addEventListener("dataProviderChanged",
dataProviderChangeHandler);
so you
2017-01-16 10:25 GMT+01:00 Carlos Rovira <[email protected]>:
> Hi Chris,
>
> for example in mdl:List the css is:
>
>
> 2017-01-16 9:58 GMT+01:00 Christofer Dutz <[email protected]>:
>
>> Hi Alex,
>>
>> Could you eventually whip up a little example of how to do what you
>> describe in the last paragraph?
>> I’m actually really new to the ActionScript + MXML side of FlexJS, but
>> very willing to learn ;-)
>>
>> Chris
>>
>>
>>
>> Am 16.01.17, 07:41 schrieb "Alex Harui" <[email protected]>:
>>
>>
>>
>> On 1/15/17, 9:17 AM, "Christofer Dutz" <[email protected]>
>> wrote:
>>
>> >Hi,
>> >
>> >Well simply adding an automationName attribute would be small and
>> simple,
>> >adding beads would be more PAYG, but also a lot of more code.
>> >What would be cool would be if we could add such an AutomationBead
>> >similarly as skinClass would be added in Spark. Some configuration
>> that
>> >allows adding AutmationBeads based on css-like selectors. That would
>> be
>> >awesome.
>>
>> I don't see any reason you couldn't do something like that. The JS
>> side
>> has Metadata. An automated test library could watch for DOM changes,
>> check the metadata on the instance and instantiate the AutomationBead.
>>
>> You could also specify AutomationBeads via a CSS file and include that
>> file if you do a test build. Then the automated test library would
>> watch
>> for DOM changes and check CSS values on the instance.
>>
>> HTH,
>> -Alex
>>
>>
>>
>>
>
>
> --
>
> Carlos Rovira
> Director General
> M: +34 607 22 60 05 <607%2022%2060%2005>
> 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.
>
>
--
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.