1 Reply Latest reply on Aug 4, 2006 9:06 AM by dimival

    Error while inserting data in datagrid

    trycold Level 1
      Hi,

      I am trying to insert data into a datagrid getting results from a cfc using remoteobject. If I use everything inline then it works fine.
      I have a button when clicked give me the results. if I have something like this:
      <mx:Button label="get Query Remote Object" click="myTest.getSystem()"/>
      then it works fine.

      but if I use a namespace like

      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns:serv="services.*">
      <serv:services id="services" />

      and try to use

      <mx:Button label="get Query Remote Object" click="services.myTest.getSystem()"/>

      then i get an error saying
      Access of undefined property myTest in package services.
      I have the remoteobject call within services.mxml which is inside services folder. What do I need to change? It used to work fine in 1.5.

      Thanks