Re: [cfaussie] Multi Language Sites
These need to be executed on every request (put in your Application.onRequestStart() for example): setEncoding( url, utf-8 ); setEncoding( form, utf-8 ); Make sure your DB connection is set to handle UTF-8. If you have any accented characters or such in your templates, make sure they have this: cfprocessingdirective pageencoding=utf-8/ Look into Paul Hastings' i18n stuff - for formatting dates etc and maybe resource bundles (or do everything from the DB). Using standard Java locales and you can use this code to convert a standard locale to a localized display name (in the locale's default language): cfset displayLocale = REReplace( getLocaleDisplayName( siteLocales.locale ), ' \(.*\)', '' ) / That strips the parenthesized sub-locale so it's easier to read. On my current project, users can choose their language and it's set for their session (so nothing special in the URL). Hope that helps? Ping me off-list (sean at corfield dot org) if you need more details. If other folks have questions on the list, I'm happy to share. Sean On Mon, Aug 9, 2010 at 9:37 PM, Steve Onnis st...@cfcentral.com.au wrote: How do people handle the URLs for this? Do you have a different URL for the different language? If so how do you deal with special language characters in the URL string? For example i am doing some french stuff atm and they use a lot of accented characters and as i am using SES URLs i am wondering whats the best way to do this. Steve -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Need help setting up flex project folders please
PROGRESS! I searched around and ended up finding a much more comprehensive tutorial. I was looking at the test drive earlier, which takes a pretty quick view of a complex thing. The tutorial I found is called Flex In A Week, which covers the issues i was having in much more depth and now I've got things rocking along beautifully. As it happens, the day one presentations also go into Eclipse matters quite a bit too, and that explains lots of things that were not apparent to me when i last looked at Eclipse. Thanks for your help Rae, Gerald and Andrew. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Aug 10, 2010 at 11:30 AM, Andrew Scott andr...@andyscott.id.au wrote: Mike, Flash Builder 4 does allow for multiple projects to the web server, it is not very intuitive or developer friendly if you ask me. Regards, Andrew Scott http://www.andyscott.id.au/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Need help setting up flex project folders please
Glad you got it sorted :) It can get tricky, there's an awesome tool I use for debugging which you might find useful it can be found here http://www.charlesproxy.com/ can save many hours of head scratching :) Cheers, Rae On 10 August 2010 16:16, Mike Kear afpwebwo...@gmail.com wrote: PROGRESS! I searched around and ended up finding a much more comprehensive tutorial. I was looking at the test drive earlier, which takes a pretty quick view of a complex thing. The tutorial I found is called Flex In A Week, which covers the issues i was having in much more depth and now I've got things rocking along beautifully. As it happens, the day one presentations also go into Eclipse matters quite a bit too, and that explains lots of things that were not apparent to me when i last looked at Eclipse. Thanks for your help Rae, Gerald and Andrew. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Aug 10, 2010 at 11:30 AM, Andrew Scott andr...@andyscott.id.au wrote: Mike, Flash Builder 4 does allow for multiple projects to the web server, it is not very intuitive or developer friendly if you ask me. Regards, Andrew Scott http://www.andyscott.id.au/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- --- Rae Buerckner E: rae.buerck...@gmail.com M: +61 409 251 548 W: http://www.raebuerckner.com ACT Adobe Products User Group Manager http://groups.adobe.com/groups/8980662cdb/summary -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Need help setting up flex project folders please
Speaking of debugging, I had a lot of trouble getting ColdFusion debugger and Flash debugger working together. It turned out that it wasn't as hard as I thought, if anyone is interested. http://www.andyscott.id.au/2010/4/5/Debugging-with-ColdFusion-Builder-and-Fl ash-Builder-in-same-IDE Regards, Andrew Scott http://www.andyscott.id.au/ From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Rae Buerckner Sent: Tuesday, 10 August 2010 4:49 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Need help setting up flex project folders please Glad you got it sorted :) It can get tricky, there's an awesome tool I use for debugging which you might find useful it can be found here http://www.charlesproxy.com/ can save many hours of head scratching :) Cheers, Rae -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Need help setting up flex project folders please
On 10/08/2010, at 8:55 AM, Mike Kear wrote: How do all those agencies and development consultancies configure this? how do companies like Rocketboots and Daemon do it? (I guess they dont use Flash Builder 4 perhaps). Hi Mike, Just saw your post - the quick answer (speaking for RB) is that our Flex client projects are entirely separate to our CF projects. If the .swf (or .air*) needs to be downloaded from the site, we create a release build in the client project and copy the output to the CF project. We should probably automate this with a build script at some point in the future. We do use FB4, although I found it worked best as a plugin to CFBuilder on my Mac. Remember that regardless of the cfc being called by the client, the actual URL a remoting request goes to is /flex2gateway. Cheers, Robin *BTW we've worked out how to dynamically create and sign .air files from a ColdFusion request using adt.jar, Mark's JavaLoader.cfc and the Java Security APIs. I should do a talk or blog post about it sometime, but if you need this capability sooner for a project contact me off list. ROBIN HILLIARD Chief Technology Officer ro...@rocketboots.com.au RocketBoots Pty Ltd Level 11 189 Kent Street Sydney NSW 2001 Australia Phone +61 2 9323 2507 Facsimile +61 2 9323 2501 Mobile +61 418 414 341 www.rocketboots.com.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Need help setting up flex project folders please
I couldn't agree more, it's best to keep things separate. In a CF project with Flex client, I would always setup at least two projects: for the server and for the client app. Tie the server project to my local CF dev server with a local apache or CF's dev http server and run it. I would strongly suggest that you actually create an ant build script as Robin has suggested, that makes your life much easier for large and potentially modularised projects but also when it comes to clean up old builds etc. Additionally to that - I'm not a big fan of using Flex or Flash Builders built-in management of server paths etc. That pretty much compiles a whole lot of stuff into your swf and _can_ make your deployment reasonably inflexible. It's nicer to create all the remoting setting dynamically in your Flex app, but I have to say that it's pretty hard and badly documented for a beginner to follow down that path. Cheers Kai How do all those agencies and development consultancies configure this? how do companies like Rocketboots and Daemon do it? (I guess they dont use Flash Builder 4 perhaps). Hi Mike, Just saw your post - the quick answer (speaking for RB) is that our Flex client projects are entirely separate to our CF projects. If the .swf (or .air*) needs to be downloaded from the site, we create a release build in the client project and copy the output to the CF project. We should probably automate this with a build script at some point in the future. We do use FB4, although I found it worked best as a plugin to CFBuilder on my Mac. Remember that regardless of the cfc being called by the client, the actual URL a remoting request goes to is /flex2gateway. Cheers, Robin *BTW we've worked out how to dynamically create and sign .air files from a ColdFusion request using adt.jar, Mark's JavaLoader.cfc and the Java Security APIs. I should do a talk or blog post about it sometime, but if you need this capability sooner for a project contact me off list. ROBIN HILLIARD Chief Technology Officer ro...@rocketboots.com.au RocketBoots Pty Ltd Level 11 189 Kent Street Sydney NSW 2001 Australia Phone +61 2 9323 2507 Facsimile +61 2 9323 2501 Mobile +61 418 414 341 www.rocketboots.com.au -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web: http://www.ventego-creative.co.nz blog: http://www.bloginblack.de twitter: http://www.twitter.com/agentK -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.