Thanks for your reply!

How can I test what datatype Flex has "decided" ?, I cant always tell
if there will be more than one item in the result.

Thanks,
Mark

--- In [email protected], "jer_ela" <[EMAIL PROTECTED]> wrote:
>
> When Flex converts xml into flex data types, it makes its best guess
> as to hat is appropriate.  When it sees repeating elements it decides
> arrayCollection.  When it sees a single element or multiple different
> elements it decides objectProxy.
> 
> You need to check the type of the event.result.action.item and set
> jobDetails to it if it is an array collection, or make jobDetails a
> new arrayCollect and addItem(event.result.action.item) to it if it is
> an objectProxy.
> 


Reply via email to