Hi Carlos, Maybe your ComboBox have to use IDataProviderItemRendererMapper ? It's just a shot.
Piotr On Mon, Oct 8, 2018, 8:24 PM Alex Harui <[email protected]> wrote: > How can collectionOfVOs be a Constant when it is being assigned data off a > network request? > > -Alex > > On 10/8/18, 11:19 AM, "Carlos Rovira" <[email protected]> wrote: > > When I say this is not working, I mean, I have the data right in > place, but > the data provider is empty. > > El lun., 8 oct. 2018 a las 20:17, Carlos Rovira (< > [email protected]>) > escribió: > > > Hi, > > > > I'm retrieving a collection of VOs and storing in a class > > > > something like this > > > > someClass.collectionOfVOs = new ArrayList (event.data as Array); > > > > in the screen code I have: > > > > <j:ComboBox selectedIndex="0"> > > <j:beads> > > <js:ConstantBinding sourceID="someClass" > > sourcePropertyName="collectionOfVOs" > > > destinationPropertyName="dataProvider"/> > > </j:beads> > > </j:ComboBox> > > > > or I could have directly > > > > <j:ComboBox dataProvider="{someClass.collectionOfVOs}"> > > > > I have setup > > > > <js:ContainerDataBinding/> > > > > But this is not working, I suppose this is due to a complete > reassignment > > of the dataProvider. > > > > I think this worked in Flex, if I can recall right. > > > > Can someone post some solution for this or let me know if see some > > problems in the way I'm creating this? > > Maybe I'm missing something? > > > > thanks > > > > > > -- > > Carlos Rovira > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6ffbfccdbfea48e49c3808d62d4a8a0c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636746195526162661&sdata=yZLc63abOJC%2B0q7SFSWhzOV1iiO5o47huqJQOtnDpaY%3D&reserved=0 > > > > > > -- > Carlos Rovira > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6ffbfccdbfea48e49c3808d62d4a8a0c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636746195526162661&sdata=yZLc63abOJC%2B0q7SFSWhzOV1iiO5o47huqJQOtnDpaY%3D&reserved=0 > > >
