This works for me:

if (event.result.price_sets.price_set is ArrayCollection) {
  arr = event.result.price_sets.price_set.source;
} else {
  arr = [event.result.price_sets.price_set];
}

arrCol = new ArrayCollection(arr);

Andrew

--- In [email protected], "darylgmyers" <[EMAIL PROTECTED]> wrote:
>
> When I use an HTTPService result as an ArrayCollection, certain nodes 
> will be set as a single item or an array depending on the number of 
> items in the node.  Is there a simple way to always force a node to an 
> array regardless of how many items there are?
>


Reply via email to