1 Reply Latest reply on Sep 3, 2008 1:41 AM by Madhav Subedi

    Sending an array to the server through HTTPService

      Hi. I have an array which holds selected items' name. I have to send those names to the server through an array for deleting them in one request.

      <mx:HTTPService id="deleteMultipleItems" url="/items/multiple_delete/" resultFormat="e4x" result="handleMultipleItemsDelete(event)" method="DELETE">

      As per trace statements in debugging, the selectedItems array is holding the names of the selected items before the httpservice is called. But the code is deleting the first item in the array. Is my code correct?

      Can anyone help on this. Thanks