Just to be sure: someClass is Bindable at level class, and collectionOfVOs is not marked as Bindable since the class already is. I suppose this works like in Flex right ? if the Class is Bindable, all members are Bindable right?
El lun., 8 oct. 2018 a las 22:15, Carlos Rovira (<carlosrov...@apache.org>) escribió: > Hi, > > just uploaded a example that works, I mean, it seems the component is ok, > but something is making it to fail. What scares me is that I'm doing mostly > the same but across multiple files and pulling data from AMF. I'll > investigate more to see what could be happening > > thanks for the suggestions. > > Carlos > > > > El lun., 8 oct. 2018 a las 22:08, Carlos Rovira (<carlosrov...@apache.org>) > escribió: > >> Hi Piotr, >> >> Jewel ComboBox uses DataItemRendererFactoryForCollectionView that >> implements IDataProviderItemRendererMapper >> thanks >> >> El lun., 8 oct. 2018 a las 21:02, Piotr Zarzycki (< >> piotrzarzyck...@gmail.com>) escribió: >> >>> 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 <aha...@adobe.com.invalid> >>> 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" <carlosrov...@apache.org> >>> 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 (< >>> > carlosrov...@apache.org>) >>> > 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 >>> > >>> > >>> > >>> >> >> >> -- >> Carlos Rovira >> http://about.me/carlosrovira >> >> > > -- > Carlos Rovira > http://about.me/carlosrovira > > -- Carlos Rovira http://about.me/carlosrovira