Flex Data binding on an mx component's property -
getting warning compiler data binding won't see assignments "cmrepeater"
<mx:repeater id="cmrepeater"> <support:cancelmembershiprowselector lineitem="{cmrepeater.currentitem}" selectedticketsobj="{selectedticketscancel}" /> </mx:repeater>
also getting can't see assignments "tickets" here derep repeater , currentitem xml object.
dataprovider="{derep.currentitem.tickets.ticket}" itemclick="viewcharacs(event);">
thanks help!
i don't think work if try bind xml object or property directly might work if convert data arraycollection, like
<fx:declarations> <fx:model id="myxml" source="../assets/myxml.xml"/> <s:arraycollection id="myarraycollection" source="{myxml.mynode}"/> </fx:declarations> <mx:repeater id="cmrepeater" dataprovider={myarraycollection}> <support:cancelmembershiprowselector lineitem="{cmrepeater.currentitem}" selectedticketsobj="{selectedticketscancel}" /> </mx:repeater>
Comments
Post a Comment