code_junkie

Flex Help: Repeaters not repeating in an Accordian control

Nov 12th, 2011
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <mx:Box
  2. xmlns:mx="http://www.adobe.com/2006/mxml"
  3. creationComplete="init()"
  4. >
  5. <mx:ViewStack&gt
  6. ...
  7. <mx:Accordion creationComplete="accordianInit()">
  8. <mx:Box label="Groups" width="100%">
  9. <mx:Repeater id="rpGroups" width="100%">
  10. <mx:CheckBox id="chkGroups"
  11. label="{rpGroups.currentItem.name}" />
  12. </mx:Repeater>
  13. </mx:Box>
  14. <mx:Box label="Contacts">
  15. <mx:Repeater id="rpContacts">
  16. <mx:CheckBox id="chkContacts"
  17. label=quot;{rpContacts.currentItem.full_name}" />
  18. </mx:Repeater>
  19. </mx:Box>
  20. </mx:Accordion>
  21. ...
  22. </mx:ViewStack&gt
  23.  
  24. <mx:Box>
  25.  
  26. <mx:Repeater dataProvider="{the_data}" ... />
Add Comment
Please, Sign In to add comment