3 Replies Latest reply on Jul 30, 2007 10:10 AM by ntsiii


    Level 1
      I need to send the dataProvider of one of my datagrids (which is an ArrayCollection) using HTTPService.

      What i have is something like this

      public function saveToPHP(e:MouseEvent, dg:DataGrid, hs:HTTPService):void{
      hs.request = dg.dataProvider;

      My POST array looks like this:
      [0] => [object Object]
      [1] => [object Object]
      [2] => [object Object]
      [3] => [object Object]
      [4] => [object Object]
      [5] => [object Object]

      I have done this before using XML as the dataProvider but this time I need an ArrayCollection.

      Is there any way to convert the ArrayCollection to an XML document? or some other way to get the data on the PHP end.