Use proper type casting of repeater current item as (deRep.currentItem as XML)
On Wed, Jul 15, 2015 at 12:43 AM, kamcknig [via Apache Flex Users] < [email protected]> wrote: > I'm trying to get some databinding working and it keeps throwing warnings. > > I have the following MXML (PSEUDO CODE): > > <Repeater id="deRep" dataProvider={"dependantXML"}> > .... > <Text ... text="{deRep.currentItem..RELATIONSHIP.@dep_cust_rel_type}" > ... /> > .... > <TextArea ... text="{deRep.currentItem.ADDRESS.@street}" ... /> > .... > </Repeater> > > Where "dependantXML" is an XMLListCollection. > > I keep getting the warnings: > Warning: Data binding will not be able to detect assignments to > "RELATIONSHIP". > Warning: Data binding will not be able to detect assignments to "ADDRESS". > > I've tried making "deRep" Bindable but that doesn't work. > > Not sure what else to try. > > Thanks for any help! > Kyle > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754.html > To unsubscribe from Apache Flex Users, click here > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==> > . > NAML > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- *Regards,* Prashant Kumar* | *Mob.: +91 8408811225 -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754p10759.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
