[flexcoders] Re: Sending textinput id

2009-09-17 Thread xyrer
--- In flexcoders@yahoogroups.com, Kenneth Sutherland kenneth.sutherl...@... wrote: Sorry should have said you should use the 'event.target.id' (in virtually all cases you can get away with using currentTarget, but if you want to be guaranteed to be getting the info from whatever dispatched

[flexcoders] Re: Sending textinput id

2009-05-09 Thread Gustavo
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: And if you do need to just send changed items, put a, isModified property on the VO and set it when the data is updated.. I have never done anything like it, you think you can maybe, elaborate a little more? a little example,

RE: [flexcoders] Re: Sending textinput id

2009-05-09 Thread Tracy Spratt
Sent: Saturday, May 09, 2009 1:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Sending textinput id --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tr...@... wrote: And if you do need to just send changed items, put a, isModified property

[flexcoders] Re: Sending textinput id

2009-05-08 Thread valdhor
If you use the change event of the text input then the id is at event.target.id Steve --- In flexcoders@yahoogroups.com, Gustavo xy...@... wrote: Hi, I have a form and I would like to add the textinput id to an array so I know which fields were edited, I trigger the change event on each

[flexcoders] Re: Sending textinput id

2009-05-08 Thread Tim Hoff
Hi Gustavo, I'm not sure of your implementation, but many times it's easier to persist a working copy of the data in a value object (VO). Each property in the object, that is editable in the form, is bound to it's associated control. When a control changes, update the associated property in

RE: [flexcoders] Re: Sending textinput id

2009-05-08 Thread Tracy Spratt
@yahoogroups.com Subject: [flexcoders] Re: Sending textinput id Hi Gustavo, I'm not sure of your implementation, but many times it's easier to persist a working copy of the data in a value object (VO). Each property in the object, that is editable in the form, is bound to it's associated