Re: [flexcoders] Re: Developing Flex against CF Server
Dale, you can use runtime definition without the services-config.xml. please see Mike Nimer's blog for details: http://blog.mikenimer.com/index.cfm/2007/1/10/Bye-bye-services HUa On Jan 2, 2008 11:01 PM, Dale Fraser [EMAIL PROTECTED] wrote: Thanks So do you need to do -services C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml Because you selected a basic project rather than a CF project? Regards Dale Fraser http://learncf.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nasawebguy Sent: Thursday, 3 January 2008 1:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Developing Flex against CF Server Dale, I feel your pain. Flex Builder does need more intuitive and support different develop/production scenarios, especially where the developer isn't running locally or even on a local network. It can be confusing. It is assumed that you're using a dev version of CF on your dev box. (ideal scenario). Mapped drive works great when on a LAN, but doesn't if I'm deploying to a remote server/host. In my case, I find using the Basic project, not CF option, is easiest for me for remote server work. On my local PC, I created a folder path C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml CF8 in your case Then after compiling/running locally in Flex, I FTP/RDP the /bin to the remote server. This lets me build locally and compile locally, then test on the server with live data. Not ideal, but it works. But, you do need to right-click on the project, select properties and enter the following in the complier arguments -services C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml It's a workaround that works for me. When I'm in the office, on a LAN, I map a drive, like Mike suggests. Don --- In flexcoders@yahoogroups.com, Mike Chabot [EMAIL PROTECTED] wrote: If your development server has CF installed on the C:\ drive, map that C drive share onto your local dev box. Let's call it Z drive. Do in your Flex settings you write Z:\ColdFusion8\ for the path. I bet you could also use UNC paths, such as \\server\c$\ColdFusion8\. Enjoy, Mike Chabot On Jan 1, 2008 10:39 PM, Dale Fraser [EMAIL PROTECTED] wrote: I have a CF development server aleady, But what I don't understand, is when I create a new flex project is that it asks me for the web root and url of CF. What am I supposed to put in here, the server one I assume. It fails of course as the locally C:\ColdFusion8 is not available. So how do you configure a Flex project that works with a development server rather than a local development environment? Regards Dale Fraser
Re: [flexcoders] Flex Remoting
Hello Giles, for you second question, you can setup channels at run time // setup coldfusion AMFChannel private function setupCFChannel():void{ cSet = new ChannelSet(); var customChannel:Channel = new AMFChannel(my-cfamf, http://yourcfservername/flex2gateway/;); // Add the Channel to the ChannelSet. cSet.addChannel(customChannel); myService.channelSet = cSet; } mx:RemoteObject id=myService destination=ColdFusion source=cfc.testGateway showBusyCursor=true mx:method name=getAll result=handleResult(event) fault=Alert.show(event.fault.message) / /mx:RemoteObject hope this helps. hua On 9/14/07, Giles Roadnight [EMAIL PROTECTED] wrote: Hi Guys I've started looking into Flex Remoting again. I looked into this a while ago but didn't get very far. I gave up when I realised that the production server here CF 7.1 so Flex Remoting wouldn't work anyway. I'm now pretty confident that I'll be able to updrage production to CF 7.2 so now I want to get my flex remoting working. I know the basics of how it's supposed to work, you create a new project and point it at the web-inf/flex directory and it builds an xml file for you. I've got 2 problems with that. For a start I already have a large project built and don't really want to re-start the project just to get the wizard at the start to set up the xml for me. Is there any way of converting an existing non-CF remoting project into a CF remoting one? My second problem is that I only have FTP access to the dev box where CF runs so I can't point flex at the web-inf/flex directory. How do I get round this? I hope someone can help. Thanks Giles.
Re: [flexcoders] Re: for FDS beginners
Charu, João's blog has examples (for cf8) that I tested working. you may want to take a look. http://www.onflexwithcf.org/index.cfm/2007/8/2/Coldfusion-8-Simple-messaging-example-using-Messaging-Event-Gateway http://www.onflexwithcf.org/index.cfm/2007/8/7/ColdFusion-8-Extending-Simple-Chat-Application--Multi-Room-support-with-SubTopics Hua On 8/30/07, Charu [EMAIL PROTECTED] wrote: Thanks hua... I was trying FDS from this url: http://www.talkingtree.com/blog/index.cfm/2006/12/20/FDS-CFMX702- ContactManagerApp bt wasnt successful can u please send me the files where u have created such applications... Thanks in advance --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hua waveland [EMAIL PROTECTED] wrote: http://www.onflexwithcf.org/index.cfm/LCDS has a few good examples (with source code) on FDS/LCDS and coldfusion. On 8/29/07, Charu [EMAIL PROTECTED] wrote: Hello , I am a newbie to FDSand was trying out my hands on FDS,jrun and coldfusion...i tried some code so as to create channel and channel sets but wasn't successful...[image: :(] Can ne1 help me with this and some small application and how to configure so as i can also see how FDS applications run[image: :-/] Hope wll get solution for my query...[image: :)]
Re: [flexcoders] for FDS beginners
http://www.onflexwithcf.org/index.cfm/LCDS has a few good examples (with source code) on FDS/LCDS and coldfusion. On 8/29/07, Charu [EMAIL PROTECTED] wrote: Hello , I am a newbie to FDSand was trying out my hands on FDS,jrun and coldfusion...i tried some code so as to create channel and channel sets but wasn't successful...[image: :(] Can ne1 help me with this and some small application and how to configure so as i can also see how FDS applications run[image: :-/] Hope wll get solution for my query...[image: :)]
Re: [flexcoders] Flex and spell check?
you may want to check out Hilary Bridel's FlexSpellCheck Component, pretty cool. http://www.bridel.org/?p=22 Hua On 5/16/07, bitfacepatrick [EMAIL PROTECTED] wrote: I need to add spell check functionality to my Flex project. Has anyone had any success implementing this type of functionality? Or suggest a 3rd party component.