RE: [flexcoders] Two way binding

2008-01-02 Thread mark goldin
. Tracy - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Monday, December 31, 2007 12:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Two way binding Aha, I see. Why would you

RE: [flexcoders] Two way binding

2008-01-02 Thread Tracy Spratt
Of mark goldin Sent: Monday, December 31, 2007 1:18 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Two way binding Let me make sure I understand. You are talking about something like this: ?xml version=1.0? !-- Models\ModelTagEmptyString.mxml -- mx:Application xmlns:mx=http

Re: [flexcoders] Two way binding

2007-12-31 Thread Douglas Knudsen
What's wrong with this? mx:TextInput text={ someReferenceToAModel.property } / Now, you can use the Binding tag to bind the value in the above back to the source, your datagrid in this case, but its not really a good idea, though YMMV. DK On Dec 31, 2007 9:33 AM, markgoldin_2000 [EMAIL

Re: [flexcoders] Two way binding

2007-12-31 Thread mark goldin
And how data from server gets into the Model? Douglas Knudsen [EMAIL PROTECTED] wrote: What's wrong with this? mx:TextInput text={ someReferenceToAModel.property } / Now, you can use the Binding tag to bind the value in the above back to the source, your datagrid in this case, but its

Re: [flexcoders] Two way binding

2007-12-31 Thread Douglas Knudsen
That's a wholly different thread. You would use WebService, HTTPservice, or RemoteObject to perform some sort of server call. Take a look at the docs on these tags and also at the examples on Adobe.com. For a ColdFusion based example, you can check this out

RE: [flexcoders] Two way binding

2007-12-31 Thread Tracy Spratt
Subject: Re: [flexcoders] Two way binding That's a wholly different thread. You would use WebService, HTTPservice, or RemoteObject to perform some sort of server call. Take a look at the docs on these tags and also at the examples on Adobe.com. For a ColdFusion based example, you can check

RE: [flexcoders] Two way binding

2007-12-31 Thread mark goldin
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Monday, December 31, 2007 10:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Two way binding That's a wholly different thread. You would use WebService

RE: [flexcoders] Two way binding

2007-12-31 Thread Tracy Spratt
] ...? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Monday, December 31, 2007 11:45 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Two way binding I am probably a complete dumb. But dataModel does

RE: [flexcoders] Two way binding

2007-12-31 Thread mark goldin
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Two way binding I am probably a complete dumb. But dataModel does not have dataProvider property. How do I pull data into model then? Tracy Spratt [EMAIL PROTECTED] wrote: Or the short answer, the same way you got the data

RE: [flexcoders] Two way binding

2007-12-31 Thread Tracy Spratt
, December 31, 2007 12:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Two way binding Aha, I see. Why would you suggest am xml based model over a class based one? Tracy Spratt [EMAIL PROTECTED] wrote: By dataModel, are you referring to the ShoppingCart class you posted? You

RE: [flexcoders] Two way binding

2007-12-31 Thread mark goldin
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Monday, December 31, 2007 12:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Two way binding Aha, I see. Why would you suggest am xml based model over a class based one? Tracy Spratt [EMAIL PROTECTED] wrote

Re: [flexcoders] Two-Way Binding Solutions?

2007-03-26 Thread Kevin
i think my problem boils down to one of object cloning. Does anyone have a good solution for deep cloning objects in AS3? Seems like this would be a pretty useful utility. - Kevin On Mar 26, 2007, at 1:50 PM, Kevin wrote: I have trying to figure out how best to accomplish the two-way

RE: [flexcoders] Two-Way Binding Solutions?

2007-03-26 Thread Alex Harui
mx.utils.ObjectUtil. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Monday, March 26, 2007 11:52 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Two-Way Binding Solutions? i think my problem boils down to one

RE: [flexcoders] Two-Way Binding Solutions?

2007-03-26 Thread Dimitrios Gianninas
To make a copy use: newContact = ObjectUtils.copy( pendingContact ); You can definitly work with it as you wrote below or use FDS which can do this for you :) Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com

Re: [flexcoders] Two-Way Binding Solutions?

2007-03-26 Thread Kevin
thanks. this works great. To make a copy use: newContact = ObjectUtils.copy( pendingContact ); - Kevin