0 Replies Latest reply on Sep 6, 2007 6:08 AM by rdennisj

    Can't use updateItem() in DataService

    rdennisj
      I declared a DataService component in MXML:
      <mx:DataService id="ds" destination="itemService"/>
      If I leave autoCommit set to true, FDS automatically executes the updateItem() method in my Assembler class. I know this because I inserted some System.out.println calls inside to verify.
      But if I set autoCommit to false and try to explicitly call the updateItem(), I get a compile-time error:
      -1061 - Call to a possibly undefined method updateItem.

      Documentation states that the updateItem can be called explicitly, but the javadoc does not define the updateItem method for DataService.

      Is this a bug?