Expand my Community achievements bar.

LCDS 3 Commit() is not working

Avatar

Former Community Member

Hello;

I have an application I have written in Flex 4 beta 2.  I am connecting to LCDS.

When the Service is called for the first time I set  auto commit to false.

I can retrieve data, however if I call revertChanges() or commit(), on any service, nothing happens on the server.  If I set autocommit to true then for every key press in the application a commit is sent to the server.

Is there something I am doing wrong?

I have tried using serviceName.serviceControl.commit(), serviceName.commit(), serviceName.serviceControl.commit(<array of items>)

Am I missing something?

Thanks

Don

1 Reply

Avatar

Former Community Member

To clarify.  A commit is performed when the autocommit is set to true.  When a user is typing in a bound control.