Our Blog

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

Nahuel Foronda

Nahuel Foronda

28 Comments

  1. 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.
  2. Luis Alvarez

    Luis Alvarez

    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
  3. Luis Alvarez

    Luis Alvarez

    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

  4. Merritt

    Merritt

    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
  5. 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
  6. 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
  7. David
    I may be missing something, but in FB2 (beta), how do I import these files into a new project?

    cheers,

    David
  8. Paolo
    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
  9. Neil
    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
  10. Neil
    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
  11. Neil
    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
  12. Paolo
    were you able to port this app to beta3? I'm having a lot of difficoulties
  13. 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.
  14. Matt
    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!
  15. eatmorepossum

    eatmorepossum

    Looking forward to the Beta 3 example. Thanks for the great work.
  16. James Ackerman

    James Ackerman

    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
  17. David
    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
  18. 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...
  19. thomary

    thomary

    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.
  20. Nahuel
    Hi Thomary,
    Yes, there will be a new version but I can't promise any date :)
  21. 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
  22. Pope
    @ 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
  23. diego
    alguien tiene el codigo fuente de esta aplicacion siendo utilizada por XML? o MYSQL?
  24. Robert Hammond
    Hi, I am also experiencing this "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" error and I couldn't solve it by using Goncalo's suggestion. I really want to migrate from flash forms to flex and since i have a grip on flash forms by the help of this application, I know that if am able to get the Flex version runnig, it would help me master flex quickly. Could someone please upload a version that wotks with Flex 3 final release so i can try this because i have been waiting for sometime now for the version 3 sample. Even if it is a link to a site with the working sample so that i can see how it was done.

    BTW Laura and Nahuel when is your promise of the final version coming on?