0 Replies Latest reply on Jun 10, 2007 5:38 PM by peterskeeter

    Java resultset to a datagrid

      I am new to flex and having problems displaying a simple resultset into a datagrid.
      I call a remoteobject in mxml using

      <mx:RemoteObject id="dvds" destination="dvds" fault="faulty(event)" showBusyCursor="true" >
      <mx:method name="get_dvds" result="get_dvds_result(event)" />

      and I can get a simple String or int to return to flex.
      But when I try to return a simple ResultSet from java nothing gets displayed in the datagrid.
      This worked fine in flash with remoting - I could return a resultset and the gris dataprovider
      would understand it and be displayed but it dosnt work in Flex 2.
      I havnt seen any documentation that shows how to do this or says that it cant be done. Cmon
      adobe I thought this would be one of the first things people would want to do.
      Any how if anyone has a simple example of returning a java resultset from a query to flex 2
      can you please share.