Haoming,I do not think this is the right place to ask this question. If you are asking a Flex question, you should try here:http://forums.adobe.com/community/flexTom
As Scott mentioned, you want to have the "datasource" annotation at the model level, not the entity level. In the next release of Data Services (or if you are using ADEP now), you can have per-entity datasources, but not in LCDS 3.1.Tom
Rao,If you followed the documentation on how to enable RDS in the web.xml, FlashBuilder should give you a reasonable error. Ensure that you have configured RDS in FB with the correct application root (it defaults to /lcds) where you have data services deployed on yout application server.Tom
Sorry about that!The generator probably should have caught that and thrown a meaningful error. Can you post an FML entity snippet that reproduces the problem? We can take a look at making this better in the future.Tom
Here is a good (if older) example from Christophe Coenraets http://coenraets.org/blog/2008/05/insync-automatic-offline-data-synchronization-in-air-using-lcds-26/It shows the network status monitoring.Tom
You should establish an event handler on the DataService channel object that will get called on the CONNECT event.Something likethe following:channel.addEventListener(ChannelEvent.CONNECT, channelConnectHandler);And have a function defined that re-executes fills if needed:public function channelConn...
Hello,You are missing the swc resource bundle libraries, which can be found along with the rest of the LCDS Actionscript libraries in lcds\resources\lcds_swcs\FlexSDK4\frameworks. Specifically you need the files in the "locale" directory on your link line in Flash Builder - fds_rb.swc and fiber_rb....
You are correct in noting that Data Management does not allow you to use your own database to store offline data. This data is exclusively managed by the LCDS library for the developer. The intent is that the local cache is a reflection of the server data, not an independent copy.If you have an ex...
Yes, they were resolved. Protective code was added to these methods in 2009 to handle the case where no MessageBroker is available.You are using an old version of LCDS.Tom
Look at registering your own BootstrapService (See docs here). You can do anything you want in such a service (not just register runtime destinations) and the stop() method will get called when the MessageBroker servlet stop() method is called. You could then kill your threads here.You could just ...