Yup, got it working, however it seemed to need me to explicitly bind a
property of the Repeater to the control being repeated before it
started working.
<mx:Repeater dataProvider="{filtered_planpoints}" id="pp_repeater">
<crm:ctrl_PlanPointDropTarget width="100%"
activePlanPoint="{pp_repeater.currentItem}"
idx="{pp_repeater.currentIndex}"/>
</mx:Repeater>
it wasn't until I added
activePlanPoint="{pp_repeater.currentItem}"
that it started working. I originally was overriding the set data()
method on the control expecting to be given the appropriate object
from the data array so I could initialise my control and had no
reference from the drop taregte control and the repeater.
If I get rid of the explicit references to the repeater it stops working.
Simon
--- In [email protected], "simonjpalmer" <[EMAIL PROTECTED]>
wrote:
>
> Is it possible to use a ListCollectionView as the dataProvider for a
> Repeater?
>
> I think the answer is no because I can't get it to work, but I wanted
> to make sure that it is not just me writing buggy code.
>
> Thanks
> Simon
>