0 Replies Latest reply on Jul 26, 2007 6:58 AM by KUMBHI

    Handling data in list

    KUMBHI
      Hi,
      I have a list box. The data to the list box comes from a java RemotObject. On the java side, I build an ArrayList with String objects. I receive it on the Flex side as a ArrayCollection and it displays fine.

      Now, from the java side, instead of sending an ArrayList of String, I want to send objects. Say a Customer object, which contains customerId and CustomerName. I want the CustomerName to be displayed in the list, but when I submit back it should send the CustomerId. How do I do this?

      Thanks
      CS