Yes, that is in Java.  If you are in ActionScript, usually you have the
collection property on the client already and so just make a change to
it using the collection apis.  When you commit, it should apply those
changes on the server.  

 

I started to answer your next question a few times and each time
realized my answer would probably get me in trouble with corporate :-)

 

Jeff

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Thursday, January 10, 2008 1:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Manual refresh nested collection in LCDS
managed object

 

Sounds like this needs to be done in Java correct? Is there a way to
do a refresh from actionscript?

Also you have mentioned some new features (destination inheritance!)
for the next version. Is there a target date for that yet OR info
anywhere as to what the planned feature are?

Thanks! - Kevin

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> You can use the method DataServiceTransaction.updateItem(..) to update
> association properties as well. You need to create an instance of the
> parent object, fully populate the association property with the new
> values, then specify the property name (or names) you changed in the
> "changes" parameter. You can supply null for the previous item of
> course unless you want to do conflict detection. 
> 
> 
> 
> We're adding better support for incremental updates of association
> properties in general in the next version. 
> 
> 
> 
> Jeff
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Kevin
> Sent: Thursday, January 10, 2008 10:55 AM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Manual refresh nested collection in LCDS managed
> object
> 
> 
> 
> I am wondering if there is a way to manually refresh a nested
> collection from the server. If I have an object with nested
> collections, I know how to refresh the collection holding the parent
> object, but is there a way to refresh just the object OR just a
> collection inside the object.
> 
> All my collections have association destinations, but the nested
> collections are filled automatically from the parent object and not
> from an explicit call that we make so I am not sure how best to
> refresh them manually if needed.
> 
> I assume there is something basic here I am missing.
> 
> Thanks,
> 
> Kevin
>

 

Reply via email to