[flexcoders] Repeater within a Repeater(Nested Repeaters) Issue

2009-01-16 Thread shakeb_sikander
Hi All
I spend Hours today but fail to find what exactly wrong with inner 
Repeater not binding any data and I could see only Outer repeater's 
data. I am attachig code for reference
Both repeater's dataprovider are arraycollection.

mx:Repeater id=rptCatagory 
dataProvider={Application.application.Catagory} 
mx:Label 
text={rptCatagory.currentItem.Name} 
data={rptCatagory.currentItem.Id} 
 
/
 
mx:Repeater 
id=rptItems dataProvider={myCollection} 

mx:Label text={rptItems.currentItem.Name} styleName=sectionHeader 
data={rptItems.currentItem.Id} /

/mx:Repeater
/mx:Repeater
Any Help on this is highly appretiable.

Thanks in Advance
SAS



Re: [flexcoders] Repeater within a Repeater(Nested Repeaters) Issue

2009-01-16 Thread Fotis Chatzinikos
Your code does not seem to contain any nested repeaters...

mx:Repeater id=rptCatagory
dataProvider={Application.

application.Catagory} 
mx:Label
text={rptCatagory.currentItem.Name http://rptcatagory.currentitem.name/}

data={rptCatagory.currentItem.Id http://rptcatagory.currentitem.id/}
*/--see this
*
Maybe you closed the 'parent' repeater by mistake (/)?

On Fri, Jan 16, 2009 at 8:35 PM, shakeb_sikander 
shakeb_sikan...@yahoo.co.in wrote:

   Hi All
 I spend Hours today but fail to find what exactly wrong with inner
 Repeater not binding any data and I could see only Outer repeater's
 data. I am attachig code for reference
 Both repeater's dataprovider are arraycollection.

 mx:Repeater id=rptCatagory
 dataProvider={Application.application.Catagory} 
 mx:Label
 text={rptCatagory.currentItem.Name}
 data={rptCatagory.currentItem.Id}
 /

 mx:Repeater
 id=rptItems dataProvider={myCollection} 

 mx:Label text={rptItems.currentItem.Name} styleName=sectionHeader
 data={rptItems.currentItem.Id} /

 /mx:Repeater
 /mx:Repeater
 Any Help on this is highly appretiable.

 Thanks in Advance
 SAS

  




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


Re: [flexcoders] Repeater within a Repeater(Nested Repeaters) Issue

2009-01-16 Thread Fotis Chatzinikos
Sorry, I was wrong I missed the label closing statement... Do not pay any
attention to my previous reply :-)

On Sat, Jan 17, 2009 at 2:39 AM, Fotis Chatzinikos 
fotis.chatzini...@gmail.com wrote:

 Your code does not seem to contain any nested repeaters...

 mx:Repeater id=rptCatagory
 dataProvider={Application.

 application.Catagory} 
 mx:Label
 text={rptCatagory.currentItem.Name http://rptcatagory.currentitem.name/}

 data={rptCatagory.currentItem.Id http://rptcatagory.currentitem.id/}
 */--see this
 *Maybe you closed the 'parent' repeater by mistake (/)?


 On Fri, Jan 16, 2009 at 8:35 PM, shakeb_sikander 
 shakeb_sikan...@yahoo.co.in wrote:

   Hi All
 I spend Hours today but fail to find what exactly wrong with inner
 Repeater not binding any data and I could see only Outer repeater's
 data. I am attachig code for reference
 Both repeater's dataprovider are arraycollection.

 mx:Repeater id=rptCatagory
 dataProvider={Application.application.Catagory} 
 mx:Label
 text={rptCatagory.currentItem.Name}
 data={rptCatagory.currentItem.Id}
 /

 mx:Repeater
 id=rptItems dataProvider={myCollection} 

 mx:Label text={rptItems.currentItem.Name} styleName=sectionHeader
 data={rptItems.currentItem.Id} /

 /mx:Repeater
 /mx:Repeater
 Any Help on this is highly appretiable.

 Thanks in Advance
 SAS

  




 --
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 fotis.chatzini...@gmail.com,




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,