First look, I could see some problem, not sure it is actual problem.
<mx:Repeater id="tactics"
dataProvider="{plms.getDivision().getTactics()">
Binding curly brace is not closed, it should be
<mx:Repeater id="tactics"
dataProvider="{plms.getDivision().getTactics()}">
May be there is some other problem.
-abdul
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mehdi, Agha
Sent: Friday, July 29, 2005 3:09 AM
To: [email protected]
Subject: [flexcoders] Repeater
Hi all,
Is there anything wrong with the following code?
<mx:Repeater id="tactics"
dataProvider="{plms.getDivision().getTactics()">
<plms:header headerText="{tactics.currentItem.getName()}"/>
<mx:Repeater id="sTactics"
dataProvider="tactics.currentItem.getSubTactics()">
<plms:row rowLabel="{sTactics.currentItem.getName()}"
subTactics="{subTactics}"/>
</mx:Repeater>
</mx:Repeater>
Where:
plms.getDivision().getTactics() is an Array of Objects and each element
of that array has getName() and getSubTactics() methods.
I get the right result when I do this
Alert.show(plms.getDivision().getTactics()[0].getSubTactics()[0].getName
());
Any ideas?
Thanks
Agha Mehdi
IDT - eBusiness Program Manager
Work: 408.284.8239
Fax: 408.284.2766
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Computer software testing
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+testing&w1=Comput
er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+develo
per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg> Macromedia flex
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Computer+softwar
e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=
93&.sig=dAUcEV7do91-wrRtVS641g> Development
<http://groups.yahoo.com/gads?t=ms&k=Development&w1=Computer+software+te
sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.
sig=AlxNUQBOI7Io7S7nhmxV0Q>
Software developer
<http://groups.yahoo.com/gads?t=ms&k=Software+developer&w1=Computer+soft
ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4
&s=93&.sig=QWIit8JayomoIHLVkV3FDg>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "flexcoders
<http://groups.yahoo.com/group/flexcoders> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
________________________________
--
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/