In your ActionScript code, the Data Management Service (DMS) should be
monitoring the changes your client makes.  If you have
dataService.autoCommit=true (the default), it gets sent to the server.
If you have dataService.autoSyncEnabled=true, it should get pushed to
other clients automatically.  If you have autoCommit=false, you have to
commit it yourself.  

 

If the change is actually noticed on the server side, not on the client,
there is a call you can make on the class DataServiceTransaction called
"updateItem" which is used to push changes to clients.  You first need
to get a DataServiceTransaction instance either by accessing the current
one using the getCurrentDataServiceTransaction or by beginning a new
one.  If you are in a method in your assembler, use the current one.  If
you are in non DMS code, use begin.  In that case, you also should
commit in a finally clause... this api is designed to be used in
conjunction with code that might get rolled back so you can abort
sending any messages if you do not commit.

 

Hope this helps.

 

Jeff

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alban Soupper
Sent: Friday, October 05, 2007 12:25 AM
To: [email protected]
Subject: [flexcoders] DFS refresh an item from a managed list

 

Hi All,

 

In my application, I have a list of items managed by a java assembler.

A client modifies an item of the list,

But how other clients can refresh only the item changed without calling
the fill method and transferring the entire list.

I am looking for a method like dataservice.refresh(targetList, itemID)

 

My problem is urgent.

Any help is appreciated.

Alban.

************************************************************************
************

This email and any attachments transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, any disclosure,
copying, use, or distribution of the information included in this
message and any attachments is strictly prohibited.

If you have received this email in error please notify the system
manager at [EMAIL PROTECTED] or by reply e-mail and immediately and
permanently delete this message and any attachments. Thank you.

 

************************************************************************
************

 

 

Reply via email to