1 Reply Latest reply on Sep 19, 2008 1:18 AM by SujitG

    Handling Objects containing Arrays

    Sivajee1
      Hi All,

      In my flex application, I am using a Java Remote Service which returns an Object containing 4 Arrays. On the Flex side, I created an ActionScript class bindable to Java Class. In the ActionScript class, I created 4 ArrayCollection attributes.
      I was able to invoke the service, got the result as object containing the arrays. I need to populate the drop-downs with the List values.
      But on the flex UI I am unable to access the individual lists.

      Please help me in resolving this issue.
      Thanks in advance...

      Regards
      Sivajee
        • 1. Re: Handling Objects containing Arrays
          SujitG Level 2
          Hi,

          Set the dataProvider of the List to the respective variables and make sure the variables or the class is marked as Bindable (If you are not assigning the data to the List after the data is received). Also make sure the labelField or the labelFunction is defined if the array contains objects.

          Hope this helps.