5 Replies Latest reply on Jul 9, 2009 12:04 PM by rckehoe

    MX:Repeater & HTTPService

    rckehoe Level 1

      I have an HTTPService that gets XML data... Then I am using the MX:Repeater to loop through this data... Then I want to create a sub-loop of the data, but this is the part that is not working. Here is my code, what am I doing wrong? Do I have the logic all wrong?

       

       

      <mx:HTTPService id="Insi" method="POST" url="MyURLHere" />

       

      <mx:Accordion x="10" y="10" width="150" height="276">
         
              <mx:Repeater dataProvider="{Insi.lastResult.root.category}" id="Reap">
             
                  <mx:Canvas label="{Reap.currentItem.title}" width="100%" height="100%">
                 
                      <mx:VBox width="100%" height="100%" x="0" y="0">
                     
                          <mx:Repeater dataProvider="{Insi.lastResult.root.category.ins}" id="SubReap">
                              <mx:Label text="{SubReap.currentItem.title}" />
                          </mx:Repeater>
                         
                      </mx:VBox>
                     
                  </mx:Canvas>
                 
              </mx:Repeater>
             
      </mx:Accordion>