RE: [flexcoders] What's the best way to bind ValueOject model data to a form and back again

2007-12-16 Thread Randy Martin
t: Re: [flexcoders] What's the best way to bind ValueOject model data to a form and back again Use a DateField component for displaying/editing Date type data, in combination with a DateFormatter for displaying the right format in the DateField textfield. Not sure if the following will make sense,

Re: [flexcoders] What's the best way to bind ValueOject model data to a form and back again

2007-12-14 Thread Muzak
Use a DateField component for displaying/editing Date type data, in combination with a DateFormatter for displaying the right format in the DateField textfield. Not sure if the following will make sense, but here's something I've used: // in a Script block // currentNewsItem is a VO ret

Re: [flexcoders] What's the best way to bind ValueOject model data to a form and back again

2007-12-14 Thread Kevin
I have solved this problem this way. 1) Extend a component that you want to use for data entry, such as a TextInput component. 2) I add a private property with called _dataProvider OR _dateReference. 3) I then add a public getter ( with the [Bindable] tag if you want to allow others to bin