0 Replies Latest reply on Feb 5, 2010 3:31 PM by Venkatesh K

    How to catch the returning object in flex

    Venkatesh K Newbie
      I integrated seam and flex with FlamingoDS
      I wrote
      actually in creationComplete() of <mx:Application> i called snameDetail.getStorageNameDetailforFlex();
      <mx:RemoteObject id="snameDetail" destination="storageDetailAction">
                      <mx:method name="getStorageNameDetailforFlex" result="resultHandlerDetail(event);" fault="Alert.show(event.fault.faultString)"/>
      I am getting list as the result
      I am displaying the results using
      private function resultHandlerDetail(e:ResultEvent):void
                      var ar:ArrayCollection = new ArrayCollection();
                      ar = e.result as ArrayCollection;
                      for each(var obj:Object in ar)
      here name is just string from the DB table it's displaying well
      but icStorageName is the reference to some other DB table I don't Know how to display the values of other table using this
      icStorageName reference please help me