Yes..i figured it out the instant I posted this query. For some 
reason the compiler did not catch this error.

Thanks
Venkat

--- In [email protected], "Ashish Goyal" <[EMAIL PROTECTED]> 
wrote:
>
> You should have gotten a compiler error since the dataProvider 
should be
> in the camel case and your code has it in all lower case. Change 
it to
> "dataProvider" then it should work.
> 
> <mx:Repeater id="r" dataProvider="{myAC}">
>               <mx:RadioButton id="Radio"
> label="{r.currentItem.name}" width="150" x="129"
> y="77"/>
> 
> 
> Thanks
> -Ashish
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Venkatesh kambhammettu
> Sent: Wednesday, January 04, 2006 5:51 PM
> To: [email protected]
> Subject: [flexcoders] Flex 2.0 Repeater not working
> 
> Hi,
> I am a newbie to Flex, trying out Flex2. I am trying
> this  sample app from the documentation using a
> repeater and for some reason it is just displaying a
> blank app/screen. 
> 
> Does anybody why this is not working?
> 
> Thanks
> Venkat
> 
> sample.mxml
> -----------
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application
> xmlns:mx="http://www.macromedia.com/2005/mxml";
> xmlns="*">
>       <mx:Model id="catalog" source="products.xml"/>
>       <mx:ArrayCollection id="myAC"
> source="{catalog.product}"/>
>       <mx:Repeater id="r" dataprovider="{myAC}">
>               <mx:RadioButton id="Radio"
> label="{r.currentItem.name}" width="150" x="129"
> y="77"/>
>       </mx:Repeater>
> </mx:Application>
> 
> products.xml
> ------------
> <?xml version="1.0"?>
> <products>
>       <product>
>               <name>Name </name>
>               <price>Price</price>
>               <freeship>Free Ship?</freeship>
>       </product>
>       <product>
>               <name>Panasonic</name>
>               <price>10</price>
>               <freeship>false</freeship>
>       </product>
>       <product>
>               <name>GE</name>
>               <price>5</price>
>               <freeship>yes</freeship>
>       </product>
> </products>
> 
> 
>               
> __________________________________________ 
> Yahoo! DSL - Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to