Apr
12

Real Estate sample app updated for Flex beta 2

27 comments Posted by: Nahuel

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

Category: ColdFusion | Flex |

27 Comments so far

Write yours
Ali Daniali
Cool! Thanks. Will give it try now. BTW Enjoyed meeting you at Flash Forward in Seattle.

:)
Nahuel
Thanks Ali, comments are welcomed. I will be adding more features to the app, like add and delete properties. Also, I will clean and comment the code a little bit.
Luis Alvarez
3. Luis Alvarez wrote on April 17, 2006 at 2:56 PM
Nahuel,
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
4. Luis Alvarez wrote on April 18, 2006 at 10:23 AM
Nahuel,
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
5. Merritt wrote on April 18, 2006 at 1:59 PM
I have everything working except the upload feature. After selecting an image (jpg) and clicking upload, the text field next to the upload button displays: "ioErrorHandler:" and the progress bar shows "LOADING 0%". Any ideas on how to fix this?

Thanks for the great sample app!

MC
Laura
Hi all,
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
Hi,
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
8. David wrote on April 26, 2006 at 11:34 AM
I may be missing something, but in FB2 (beta), how do I import these files into a new project?

cheers,

David
Paolo
9. Paolo wrote on April 27, 2006 at 7:28 AM
Hi,
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
got a version we can peek online?
Neil
11. Neil wrote on May 04, 2006 at 2:23 PM
Hi,
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
12. Neil wrote on May 07, 2006 at 8:32 AM
I'm now getting the following error message when trying to run the realestate sample:
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
13. Neil wrote on May 09, 2006 at 10:16 AM
I now have the sample working but having problems with the images uploading as well.

I have also installed the file mentioned above as well as the added the 2 directories.

Any ideas?

Thanks
Paolo
14. Paolo wrote on May 23, 2006 at 6:22 AM
were you able to port this app to beta3? I'm having a lot of difficoulties
Nahuel
Hi,
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
16. Matt wrote on July 03, 2006 at 2:19 PM
We have been doing some very heavy app building using flash forms and have been hanging on the release of Flex Builder 2. Is it possible to port over a application from Coldfusion Flash forms to Flex? It would save me a ton of redevelopment. Any suggestions would be more than appreciated!
eatmorepossum
17. eatmorepossum wrote on July 17, 2006 at 3:55 AM
Looking forward to the Beta 3 example. Thanks for the great work.
James Ackerman
18. James Ackerman wrote on August 02, 2006 at 8:35 PM
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
David
19. David wrote on August 16, 2006 at 3:52 PM
Hi guys/gals,
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
Matt,
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
21. thomary wrote on January 22, 2007 at 5:20 PM
Just wondering if you will be posting the newer version.
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
Hi Thomary,
Yes, there will be a new version but I can't promise any date :)
Pope
23. Pope wrote on May 30, 2007 at 2:01 PM
Is there a solution for James' problem yet?
goncalo
Hi. I have the same problem then James (on Flex 3):
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
25. Pope wrote on February 04, 2008 at 1:29 AM
@ Goncalo:

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
alguien tiene el codigo fuente de esta aplicacion siendo utilizada por XML? o MYSQL?
diego
someone knows or has a version MySQL PHP?

Leave your comment

Comment etiquette: As a gesture to those subscribed to this post, please keep your comments relevant to the post.

Your email address will never be displayed.
Email is gravatar enabled.Gravatar are the pictures you see next to the comments. If you like to have one, visit gravatar



Allowed tags:

<code>
All other tags will be shown as such, when in doubt, use the preview.




Preview:

Refresh Preview
1. You wrote on