Real Estate sample app updated for Flex beta 2
I updated the Real Estate example to make it work with the beta 2. I also made the code simpler and took out some classes from the service package. Now, I'm using plain RemoteObject.
If you are wondering why we don't post lately, we can tell you that we are very busy but doing a lot of things to improve this blog. I hope that soon we'll have a new version up and running.
Files
Code real estate
Ali Daniali
:)
Nahuel
Luis Alvarez
I'm new to flex /cf connectivity. Can you explain where I place directory and how I get flex to talk to my cf7. I've created the realestate datasource in cfadmin. I've installed mystic and copied the cf extentions to Eclipse. the RDS is configured and I've tested its connectivy to cf. I keep getting Error: faultCode:InvokeFailed faultString:'Error: Unknown destination 'ColdFusion'.' faultDetail:'Couldn't establish a connection to 'ColdFusion'' I don't know exact what I'm missing.
Thanks
Luis
Luis Alvarez
I read some articles in lab regarding cf / flex integration. These helped me out. I got it to work. Seems like others are having the same problems.
http://www.forta.com/blog/index.cfm/2006/3/21/ColdFusion-Flash-Remoting-Configuration-in-Flex-2-Beta-2
http://www.drisgill.com/index.cfm/2006/3/22/Flex-2-Beta-2--flex2gateway-Problem
Can you explain how to integrate the resize component. I get an ioErrorHandler: error when uploading.
Thanks
-Luis
Merritt
Thanks for the great sample app!
MC
Laura
Glad you got it working given the little help we provided ;)
For those having problems with the image upload, check the previous post for the link to the resizing component
http://www.asfusion.com/blog/entry/flash-forward-seattle-flex-and
Their license does not allow us to distribute it.
Once you dowloaded it, copy the file tmt_img.cfc to the folder with the same name inside components.
Hope that helps
Laura
I think I know why you are getting io errors.
There should be two folders in the project, but because they are now empty, Flex Builder is not copying them to the output folder. So, to fix it, make sure you have these two folders in your output folder:
temp
assets\images\properties\original
David
cheers,
David
Paolo
great sample thanks for sharing the source with the comunity.
I have problems uploading files, I've tryed downloading the tmt_img.cfc file and added these two folders:
temp
assets\images\properties\original
in the output(bin) folder, but still get the ioError
Dan
Neil
I'm trying to get the sample to work on my system but not having much luck.
What directory should I have the realEstate files in? Do I need to copy the realEstate.mdb from your other sample?
When I run the sample, I get the search panel but the PropertiesPanel is blank. What Iam doing wrong? Any help is appreciated.
Thanks
Neil
Could not find the ColdFusion Component realestate.services.StateService.' faultDetail:'Please check that the given name is correct and that the component exists.'
Not sure why I'm getting this error or haven't found a solution for it yet.
Any help is greatly appreciated.
Thanks
Neil
I have also installed the file mentioned above as well as the added the 2 directories.
Any ideas?
Thanks
Paolo
Nahuel
Yes we are thinking in porting the app to Beta3. Maybe next week (no promise).
Also I will try to use another tag for the image resizing and write better documentation for easier install.
Matt
eatmorepossum
James Ackerman
David
I'm continually impressed! You ROck! BUT... i can't get this application to work. I got MySQL finally working with the 5.0 driver, but i can't get this application to work in flex. I get two errors which look like build problems.
1) Design mode: Error creating item mx.containers.Canvas in parent Canvas. Please choose Design > Refresh to refresh design mode.
2) Could not copy some files to the output directory. The project may not run correctly.
Both are from the realestate.mxml file. Continue give me a run down on installing this app in flex 2?
Thanks a million!
David
Laura
I am replying to this late but anyway, I don't think there is a quick "transform this into Flex" for cfforms :) But I am writing a series of posts where I explain how to make the move.
David,
It looks like something went wrong in your project setup.
But for you and James that have problems... this version was for Beta 2, many things changed in the final release so the app won't compile as is. Nahuel told me he was going to post the final version some day...
thomary
I really need help with textInput binding other textinput fields. I can get binding working with a datagrid but how do I bind the query results into other textInput fields.
I want a user to be able to enter a ID number and then focusout I want to fill the other textInput fields with the query results. Any help would be greatly appreciated.
Nahuel
Yes, there will be a new version but I can't promise any date :)
Pope
goncalo
1118: Implicit coercion of a value with static type Object to a possibly unrelated type mx.core:Application. Bus.as Realestate/com/realestate/core line 6
Anyone found a solution yet?? Thank you very much
Pope
Project properties.
Flex Build Path.
Library Path.
And there I deleted the last line.
(found this somewhere on the web). Let us know if this works for you too, please
diego
diego
Robert Hammond
BTW Laura and Nahuel when is your promise of the final version coming on?