You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by kamcknig <ka...@gmail.com> on 2015/07/14 21:13:50 UTC
Can't get Flex binding to work without warnings
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
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Can't get Flex binding to work without warnings
Posted by kamcknig <ka...@gmail.com>.
That worked, thanks!
Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)
On Tue, Jul 14, 2015 at 11:35 PM, pkumar.flex [via Apache Flex Users] <
ml-node+s2333346n10759h83@n4.nabble.com> wrote:
> 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] <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=10759&i=0>> 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.
>> 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
>
>
> ------------------------------
> 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-tp10754p10759.html
> To unsubscribe from Can't get Flex binding to work without warnings, click
> here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=10754&code=a2FtY2tuaWdAZ21haWwuY29tfDEwNzU0fC0xNTg3MjQ1NTM4>
> .
> 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>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754p10769.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Can't get Flex binding to work without warnings
Posted by "pkumar.flex" <pr...@gmail.com>.
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] <
ml-node+s2333346n10754h59@n4.nabble.com> 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.
RE: Can't get Flex binding to work without warnings
Posted by kamcknig <ka...@gmail.com>.
Hi!
Yes its already set to be Bindable
Best
On Jul 14, 2015 3:58 PM, "Kunal Jaura [via Apache Flex Users]" <
ml-node+s2333346n10755h59@n4.nabble.com> wrote:
> Hi,
>
> Have tried making the dataProvider variable 'dependantXML' bindable? I've
> had that work for me.
>
> Cheers
> Kunal Jaura | Director of Architecture | www.CRMantra.com | office +1
> (415)
> 839 9672 | mobile +1 (415) 272 4868 | [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=10755&i=0>
>
>
>
> -----Original Message-----
> From: kamcknig [mailto:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=10755&i=1>]
> Sent: Tuesday, July 14, 2015 12:14 PM
> To: [hidden email] <http:///user/SendEmail.jtp?type=node&node=10755&i=2>
> Subject: Can't get Flex binding to work without warnings
>
> 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
>
>
>
> --
> View this message in context:
>
> http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-wor
> k-without-warnings-tp10754.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> 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-tp10754p10755.html
> To unsubscribe from Can't get Flex binding to work without warnings, click
> here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=10754&code=a2FtY2tuaWdAZ21haWwuY29tfDEwNzU0fC0xNTg3MjQ1NTM4>
> .
> 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>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754p10756.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: Can't get Flex binding to work without warnings
Posted by Kunal Jaura <ku...@crmantra.com>.
Hi,
Have tried making the dataProvider variable 'dependantXML' bindable? I've
had that work for me.
Cheers
Kunal Jaura | Director of Architecture | www.CRMantra.com | office +1 (415)
839 9672 | mobile +1 (415) 272 4868 | kunal.jaura@CRMantra.com
-----Original Message-----
From: kamcknig [mailto:kamcknig@gmail.com]
Sent: Tuesday, July 14, 2015 12:14 PM
To: users@flex.apache.org
Subject: Can't get Flex binding to work without warnings
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
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-wor
k-without-warnings-tp10754.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Can't get Flex binding to work without warnings
Posted by kamcknig <ka...@gmail.com>.
Thanks for the explanation!
Kyle
Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)
On Wed, Jul 15, 2015 at 11:41 AM, Alex Harui [via Apache Flex Users] <
ml-node+s2333346n10779h3@n4.nabble.com> wrote:
> The principle is that the compiler always assumes the binding expression
> is an object/property chain, but tries to use type information when
> possible. Repeater.currentItem is typed as Object, so the binding
> subsystem will look for change events that Objects use. But if you know
> the type is not an Object, you can specify the type via the “casting”.
>
> -Alex
>
> On 7/15/15, 4:43 AM, "kamcknig" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=10779&i=0>> wrote:
>
> >That got rid of the warnings! Hopefully it still works correctly, I'll
> >have
> >to test it out. Thanks so much!
> >
> >
> >Kyle McKnight
> >Senior UI Engineer - Accesso
> >602.515.1444 (M)
> >
> >On Tue, Jul 14, 2015 at 6:54 PM, Alex Harui [via Apache Flex Users] <
> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=10779&i=1>>
> wrote:
> >
> >> Try:
> >>
> >> {XMLList(deRep.currentItem)..RELATIONSHIP.@dep_cust_rel_type}
> >>
> >>
> >> And
> >>
> >> {XMLList(deRep.currentItem).ADDRESS.@street}
> >>
> >>
> >> -Alex
> >>
> >> On 7/14/15, 12:13 PM, "kamcknig" <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=10757&i=0>> 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
> >> >
> >> >
> >> >
> >> >--
> >> >View this message in context:
> >> >
> >>
> >>
> http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-
> >>w
> >> >ork-without-warnings-tp10754.html
> >> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> >> ------------------------------
> >> 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-tp10754p10757.html
> >> To unsubscribe from Can't get Flex binding to work without warnings,
> >>click
> >> here
> >>
> >><http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?
>
> >>macro=unsubscribe_by_code&node=10754&code=a2FtY2tuaWdAZ21haWwuY29tfDEwNzU
>
> >>0fC0xNTg3MjQ1NTM4>
> >> .
> >> 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-nabbl
>
> >>e.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble
>
> >>%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21n
>
> >>abble%3Aemail.naml>
> >>
> >
> >
> >
> >
> >--
> >View this message in context:
> >
> http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-w
> >ork-without-warnings-tp10754p10768.html
> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> 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-tp10754p10779.html
> To unsubscribe from Can't get Flex binding to work without warnings, click
> here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=10754&code=a2FtY2tuaWdAZ21haWwuY29tfDEwNzU0fC0xNTg3MjQ1NTM4>
> .
> 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>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754p10780.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Can't get Flex binding to work without warnings
Posted by Alex Harui <ah...@adobe.com>.
The principle is that the compiler always assumes the binding expression
is an object/property chain, but tries to use type information when
possible. Repeater.currentItem is typed as Object, so the binding
subsystem will look for change events that Objects use. But if you know
the type is not an Object, you can specify the type via the “casting”.
-Alex
On 7/15/15, 4:43 AM, "kamcknig" <ka...@gmail.com> wrote:
>That got rid of the warnings! Hopefully it still works correctly, I'll
>have
>to test it out. Thanks so much!
>
>
>Kyle McKnight
>Senior UI Engineer - Accesso
>602.515.1444 (M)
>
>On Tue, Jul 14, 2015 at 6:54 PM, Alex Harui [via Apache Flex Users] <
>ml-node+s2333346n10757h21@n4.nabble.com> wrote:
>
>> Try:
>>
>> {XMLList(deRep.currentItem)..RELATIONSHIP.@dep_cust_rel_type}
>>
>>
>> And
>>
>> {XMLList(deRep.currentItem).ADDRESS.@street}
>>
>>
>> -Alex
>>
>> On 7/14/15, 12:13 PM, "kamcknig" <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=10757&i=0>> 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
>> >
>> >
>> >
>> >--
>> >View this message in context:
>> >
>>
>>http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-
>>w
>> >ork-without-warnings-tp10754.html
>> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------
>> 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-tp10754p10757.html
>> To unsubscribe from Can't get Flex binding to work without warnings,
>>click
>> here
>>
>><http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?
>>macro=unsubscribe_by_code&node=10754&code=a2FtY2tuaWdAZ21haWwuY29tfDEwNzU
>>0fC0xNTg3MjQ1NTM4>
>> .
>> 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-nabbl
>>e.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble
>>%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21n
>>abble%3Aemail.naml>
>>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-w
>ork-without-warnings-tp10754p10768.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Can't get Flex binding to work without warnings
Posted by kamcknig <ka...@gmail.com>.
That got rid of the warnings! Hopefully it still works correctly, I'll have
to test it out. Thanks so much!
Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)
On Tue, Jul 14, 2015 at 6:54 PM, Alex Harui [via Apache Flex Users] <
ml-node+s2333346n10757h21@n4.nabble.com> wrote:
> Try:
>
> {XMLList(deRep.currentItem)..RELATIONSHIP.@dep_cust_rel_type}
>
>
> And
>
> {XMLList(deRep.currentItem).ADDRESS.@street}
>
>
> -Alex
>
> On 7/14/15, 12:13 PM, "kamcknig" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=10757&i=0>> 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
> >
> >
> >
> >--
> >View this message in context:
> >
> http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-w
> >ork-without-warnings-tp10754.html
> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> 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-tp10754p10757.html
> To unsubscribe from Can't get Flex binding to work without warnings, click
> here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=10754&code=a2FtY2tuaWdAZ21haWwuY29tfDEwNzU0fC0xNTg3MjQ1NTM4>
> .
> 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>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-work-without-warnings-tp10754p10768.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Can't get Flex binding to work without warnings
Posted by Alex Harui <ah...@adobe.com>.
Try:
{XMLList(deRep.currentItem)..RELATIONSHIP.@dep_cust_rel_type}
And
{XMLList(deRep.currentItem).ADDRESS.@street}
-Alex
On 7/14/15, 12:13 PM, "kamcknig" <ka...@gmail.com> 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
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Can-t-get-Flex-binding-to-w
>ork-without-warnings-tp10754.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.