Saturday, July 31, 2010    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< Jul 2010 >>
S M T W T F S
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
             

Search

Categories
 • Acrobat (5) [RSS]
 • Adobe (96) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (66) [RSS]
 • AdobeMAX09 (39) [RSS]
 • AdobeMAX10 (7) [RSS]
 • AIR (233) [RSS]
 • Appearances (198) [RSS]
 • Books (78) [RSS]
 • CFEclipse (15) [RSS]
 • ColdFusion (1409) [RSS]
 • ColdFusion Builder (9) [RSS]
 • Data Services (36) [RSS]
 • Fish Tank (5) [RSS]
 • Flash (248) [RSS]
 • Flex (513) [RSS]
 • Home Automation (5) [RSS]
 • Jobs (119) [RSS]
 • JRun (14) [RSS]
 • Labs (47) [RSS]
 • LiveCycle (35) [RSS]
 • MAX (238) [RSS]
 • Mobile (138) [RSS]
 • Regular Expressions (18) [RSS]
 • RIA (21) [RSS]
 • SQL (42) [RSS]
 • Stuff (543) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (164) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • Mark Doherty
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
November 4, 2005

New Sample ColdFusion/Flex 2 Application - FlexMail

A new sample ColdFusion / Flex 2 application has been posted to the Macromedia Labs site. FlexMail is an e-mail client written in Flex 2. It displays messages in your POP mailbox, allows you to read them (as well as reply, forward, and delete), and compose new messages. The back-end is a ColdFusion CFC using <cfpop> and <cfmail>. This application demonstrates passing data to and from ColdFusion, the use of states, event dispatching and handling, using local shared objects, and more.

Note: To use this demo you will need to be running ColdFusion MX 7.0.1, have the Flex 2 ColdFusion Adapter installed, and be running Flex Builder 2.

Comments
Why is the MM Labs site built with PHP???

http://labs.macromedia.com/wiki/index.php

# Posted By todd | 11/4/05 1:06 PM
Been there, discussed that.

It is not built in PHP. The team needed to get a Wiki up quickly, and the best and most popular Wiki is one written on PHP. Simple as that.
# Posted By Ben Forta | 11/4/05 1:12 PM
Hey Ben,

Thanks for the example app. I'm running into an "error" in the alert box when connecting.
My coldfusion backend is working (tested it using cfinvoke etc). I'm publishing, using the Flex 2 Builder, into a "bin" folder.



I've added this to the coldfusionsamples.xml:
   ....   <source>FlexMail.bin.FlexMail</source>
   ....

Can you provide me any inside into my prob ?

tnx !
# Posted By Webdevotion | 11/7/05 10:10 AM
Are you sure that the path is correct? With bin in it? What is the exact error you are getting?

Also, if you run ColdFusion from the command line (using cfstart) you'll see the message sent back and forth, can be an invaluable debugging tool.
# Posted By Ben Forta | 11/7/05 2:39 PM
tnx for the cfstart tip, I'll try that out

After a server restart, everything worked fine.

I didn't get an error, just a dialog with the
message "error", no details were given.
# Posted By Webdevotion | 11/8/05 7:40 AM
In case anyone else runs into the following error...

Error: Couldn't establish a connection to 'FlexMail'.

Don't forget to add the argument --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-services.xml to Project > Properties > Flex Compiler > Additional compiler arguments in Flex Builder before compiling the application.
# Posted By Hans | 12/3/05 6:19 PM
Well, I'm able to run the application, but all I get is a blank grey screen. I have the --services in the properties compiler box. My FlexMail is sitting in C:/CFusionMX7/wwwroot/FlexMail/FlexMail and my <source> in the coldfusionsamples.xml file is FlexMail.FlexMail

Should I be following the Final steps in the CFAdapter install, because if I am, they're confusing.
# Posted By ross | 12/6/05 3:24 PM
What's up with the Adobe Labs site? - Looks like the FlexMail app has been yanked...can you confirm?


Linked from - http://labs.adobe.com/wiki/index.php/ColdFusion
# Posted By martin | 6/15/06 4:24 AM
Martin, that app needs to be updated to work with the newer betas, and so they pulled it until I do so.

--- Ben
# Posted By Ben Forta | 6/15/06 8:12 AM
Where I can find the FlexMail source for Flex 2, on Adobe labs, no source available.

Many Thanks
Erik
# Posted By Erik | 11/4/06 4:30 AM
Erik, it has yet to be updated for final Flex 2 bits.

--- Ben
# Posted By Ben Forta | 11/6/06 11:32 AM
Hello Ben

I was wondering if this application is updated yet,
Many thanks for all your effort

New Sample ColdFusion/Flex 2 Application - FlexMail

JD
# Posted By jd | 6/5/07 5:06 PM

  © Copyright 1997-2009 Ben Forta, All Rights Reserved