For posterity … I got this working. Was simply missing a

 

DataServerTransaction.commit();

 

After the refreshfill.

 

Cheers,

 

Paul

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Dale
Sent: Monday, 14 August , 2006 17:21
To: [email protected]
Subject: [flexcoders] Server side updates to a bound Object

 



I've got a datagrid bound to ArrayCollection via a destination. Pretty close
to the standard example.

This part works.

What I haven't been able to get to work is to make an update to the java
object on the server and have that be reflected in the client.

My ArrayCollection is [Bindable]
AutoSyncEnabled is set to the default true value.

I am sure that my server side object changes ( if I refresh I see the
changes ... but don't get them pushed to the datagrid ).

I've tried executing the following ...

public void pushChanges() {
DataServiceTransaction myDataServiceTransaction =
DataServiceTransaction.begin(true);
updateLastRadarData();
myDataServiceTransaction.refreshFill("radardata", null );
}

But am still not getting seeing updates on the client.

Any suggestions on where to go next?

Many thanks,

Paul

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to