[flexcoders] Re: Sample project for CRUD type application

2006-09-15 Thread gordofeatherfoot
Hi Anatole, I have tried the DAOFlex but can't seem to get it working. I have used the build.xml from the example application and have run it but I get the following error after the employee and manager classes are built : BUILD FAILED C:\Documents and

[flexcoders] Re: Sample project for CRUD type application

2006-08-16 Thread geiger947
It works one way - from the datasource to the text property. I am comming to flex as a VB programmer and I was looking to create a setup that was more like the traditional bound recordset type system. What I did instead was create my own datasource that has the concept of selectedItem and

Re: [flexcoders] Re: Sample project for CRUD type application

2006-08-03 Thread Tom Chiverton
On Monday 31 July 2006 17:50, Douglas Knudsen wrote: mx:Binding source={ myModel.foo } destination=myTextControl.text / mx:Binding source={myTextControl.text} destination=myModel.foo / mx:Text id=myTextControl / Does mx:Text id=myTextControl text={myModel.foo} / not work ? -- Tom Chiverton

[flexcoders] Re: Sample project for CRUD type application

2006-07-31 Thread geiger947
I have looked at it and it was helpfull, but I can not use FDS for several reasons I won't go into. One trouble I am having now is to set up 2 way databinding. I assume fds adds something in to accomplish this cause the code in the example translates for one way binding, but not two way.

Re: [flexcoders] Re: Sample project for CRUD type application

2006-07-31 Thread Douglas Knudsen
two way binding between what? If between your model and a editor control, just use two binding tags...one way at leastmx:Binding source={ myModel.foo } destination=myTextControl.text / mx:Binding source={myTextControl.text} destination=myModel.foo /mx:Text id=myTextControl /I think I got the

Re: [flexcoders] Re: Sample project for CRUD type application

2006-07-31 Thread Anatole Tartakovsky
If you are looking for 2 way binding with database, you basically need to establish collection that would track the changes. If you may not use FDS you at least have to look what is generated in case of FDS in terms of getters and setters for datagrid data, and see if you can mimic that with