Any reason a cfhttp post can't be made in a component method?
Can anyone think of a reason that a cfhttp post can't be made within a component method? Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
msaccess on 64bit
I know this is a sore subject, but the customer needs it for a legacy system and no moving to MSSQL or MySQL is not an option right now. I can get the DSN's working manually by doping this. create DSN via %systemdrive%\Windows\System32\odbcad32.exe and then via %systemdrive%\Windows\SysWOW64\odbcad32.exe and then create an ODBC socket DSN via the CFADMIN to point to that DSN. However this is a PITA and the client really needs to be able to create them himself via the cfadmin, is there any better workaround that get the Microsoft access DSN in the cfadmin working again on 64bit ? -- -- Russ Michaels www.bluethunderinternet.com : Business hosting services solutions www.cfmldeveloper.com: ColdFusion developer community www.michaels.me.uk : my blog www.cfsearch.com : ColdFusion search engine ** *skype me* : russmichaels ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: msaccess on 64bit
I vaguely remember doing something with the Office 2010 ACE drivers, but I don't remember it well. All of our Access stuff was converted to SQL 2008 so I don't even have an example. At least this might get you started. Steve -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Tuesday, September 25, 2012 9:05 AM To: cf-talk Subject: msaccess on 64bit I know this is a sore subject, but the customer needs it for a legacy system and no moving to MSSQL or MySQL is not an option right now. I can get the DSN's working manually by doping this. create DSN via %systemdrive%\Windows\System32\odbcad32.exe and then via %systemdrive%\Windows\SysWOW64\odbcad32.exe and then create an ODBC socket DSN via the CFADMIN to point to that DSN. However this is a PITA and the client really needs to be able to create them himself via the cfadmin, is there any better workaround that get the Microsoft access DSN in the cfadmin working again on 64bit ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352743 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Any reason a cfhttp post can't be made in a component method?
Nope. On Tue, Sep 25, 2012 at 7:15 AM, Rick Faircloth r...@whitestonemedia.com wrote: Can anyone think of a reason that a cfhttp post can't be made within a component method? Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352744 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Any reason a cfhttp post can't be made in a component method?
Ok... next question. Can a jQuery ajax function be used to send post variables to a component method and have a cfhttp function post those variables to another domain, in this case, https://test.authorize.net/gateway/transact.dll ??? I'm at my wits end trying to process form data into two parts. The data fields that can go to authorize.net and the parts that need to stay with me and go into my database. Authorize.net forbids personally identifiable info from going into the merchant-defined fields. Ergo, I need to post some of the form data to Authorize.net and if a transaction is approved, post some of that info (not CC numbers, etc) to my database, along with other info not pertinent to the transaction, such as in honor of etc. The easiest way I thought to do this was to use AJAX and submit some of the data that way (I couldn't get a straight jQuery AJAX post to work...couldn't get a response from the Authorize.net server, although the transaction was successful) and I haven't been successful getting the form values with jQuery AJAX and posting them to Authorize.net by send the form values via AJAX to a CFC method, which utilizes CFHTTP for the post. No response from the Authorize.net server. If you know this will work, Ray, how much would it cost you to guide me through a solution. I have a patient client, but this needs to get done. I'm at the point now where I'm either considering going to session variables or just putting all the post variables into a temp table in a database, then processing the transaction, and, if successful, putting the transaction data into a permanent table. I just can't seem to work up a solution from everything I've read (which is all I could find) and everyone that would discuss this with me, including calling Authorize.net, who said we don't support developers... Can it be done? Can you do it? If so, how much to guide me through it? Still have my hair, but not for long! Rick -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, September 25, 2012 10:54 AM To: cf-talk Subject: Re: Any reason a cfhttp post can't be made in a component method? Nope. On Tue, Sep 25, 2012 at 7:15 AM, Rick Faircloth r...@whitestonemedia.com wrote: Can anyone think of a reason that a cfhttp post can't be made within a component method? Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Any reason a cfhttp post can't be made in a component method?
Hi Rick, There is no reason why this should not work via the CFC method or even via the direct ajax method. Some gateways however restrict access to approved IPs, so the ajax method, originating from the end user IP may not work directly, which is why you probably want to route it through a CFC. The CFC method is the best option anyways, because otherwise you would need to do 2 ajax requests to talk to Authorize and then send the results to your server. You should just call a CFC (via ajax), your CFC should post to Auth.net and then return record the result and return to the client. If your transactions are getting approved via your CFHTTP post, then you should be getting a result. What do you see when you dump the cfhttp.fileContent result? I have some authorize.net code you can look at that uses CFHTTP, just email me off list and I'll send it to you. Its nothing special though.. just a CFHTTP post and some list parsing code to parse the result... Brook -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: September-25-12 8:34 AM To: cf-talk Subject: RE: Any reason a cfhttp post can't be made in a component method? Ok... next question. Can a jQuery ajax function be used to send post variables to a component method and have a cfhttp function post those variables to another domain, in this case, https://test.authorize.net/gateway/transact.dll ??? I'm at my wits end trying to process form data into two parts. The data fields that can go to authorize.net and the parts that need to stay with me and go into my database. Authorize.net forbids personally identifiable info from going into the merchant-defined fields. Ergo, I need to post some of the form data to Authorize.net and if a transaction is approved, post some of that info (not CC numbers, etc) to my database, along with other info not pertinent to the transaction, such as in honor of etc. The easiest way I thought to do this was to use AJAX and submit some of the data that way (I couldn't get a straight jQuery AJAX post to work...couldn't get a response from the Authorize.net server, although the transaction was successful) and I haven't been successful getting the form values with jQuery AJAX and posting them to Authorize.net by send the form values via AJAX to a CFC method, which utilizes CFHTTP for the post. No response from the Authorize.net server. If you know this will work, Ray, how much would it cost you to guide me through a solution. I have a patient client, but this needs to get done. I'm at the point now where I'm either considering going to session variables or just putting all the post variables into a temp table in a database, then processing the transaction, and, if successful, putting the transaction data into a permanent table. I just can't seem to work up a solution from everything I've read (which is all I could find) and everyone that would discuss this with me, including calling Authorize.net, who said we don't support developers... Can it be done? Can you do it? If so, how much to guide me through it? Still have my hair, but not for long! Rick -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, September 25, 2012 10:54 AM To: cf-talk Subject: Re: Any reason a cfhttp post can't be made in a component method? Nope. On Tue, Sep 25, 2012 at 7:15 AM, Rick Faircloth r...@whitestonemedia.com wrote: Can anyone think of a reason that a cfhttp post can't be made within a component method? Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352746 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
How to set Locale to Malaysia
I have never worked with Locale before, but we have a client in Malaysia that wants us to use their Currency symbol of RM instead of $. I have checked our CF8 for supported Locale's and don't see 1 for Malaysia. Is there a way to set the Locale to Malaysia using CF8? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352747 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Justify text in CFDOCUMENT?
I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352748 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352749 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
I vote for live-with-it at this point. It was a client request and I don't think they'll be too sore if they don't get their text justified... ;) On 9/25/12 2:26 PM, Andy Allan wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352750 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
What does +no+post+sending+forms+are+found do?
In what looks like an injection attempt or something (?), what exactly does the following do? somepage.cfm?Result:+using+proxy+177.103.197.203:8080;+no+post+sending+forms+are+found; I've got a script in my application file that's stopped/caught a bunch of these over the last few days. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352751 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
Or use a table and align. On Sep 25, 2012 4:27 PM, Andy Allan andy.al...@gmail.com wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352752 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What does +no+post+sending+forms+are+found do?
It looks like a search engine which is clumsily redirecting search result to some of your pages. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352753 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
2. Use iText. iText can a PITA for complex documents. I found it to be *much* less labor intensive to use a RTF document and add/edit content to the text file and converting it to a PDF using oolib http://oolib.riaforge.org/ I have been able to get much nicer formatting with that method compared to CFDocument. HTH G! On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352754 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
Interesting. Are there any writeups on doing that kind of thing? On 9/25/12 4:40 PM, Gerald Guido wrote: 2. Use iText. iText can a PITA for complex documents. I found it to be *much* less labor intensive to use a RTF document and add/edit content to the text file and converting it to a PDF using oolib http://oolib.riaforge.org/ I have been able to get much nicer formatting with that method compared to CFDocument. HTH G! On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352755 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
I believe you can also do similar with open office documents as well, install open office on the server and use its API, I think there may even be a CF API wrapper On Wed, Sep 26, 2012 at 12:52 AM, .jonah jonah@creori.com wrote: Interesting. Are there any writeups on doing that kind of thing? On 9/25/12 4:40 PM, Gerald Guido wrote: 2. Use iText. iText can a PITA for complex documents. I found it to be *much* less labor intensive to use a RTF document and add/edit content to the text file and converting it to a PDF using oolib http://oolib.riaforge.org/ I have been able to get much nicer formatting with that method compared to CFDocument. HTH G! On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352756 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
Are there any writeups on doing that kind of thing? Not that II am aware of. This is all stuff that I figured out myself via trial and error. lots of error ;) I will be back on tomorrow and I can pull up my notes. Google RTF and CF in the interim. BTW I have been ALL over the whole creating PDFs thing for the last week so I am steeped in the subject matter. There are *lots* of ways to do it. It is just a matter of figuring out what fits your needs. For me it was RTF = oolib = PDF G! On Tue, Sep 25, 2012 at 7:52 PM, .jonah jonah@creori.com wrote: Interesting. Are there any writeups on doing that kind of thing? On 9/25/12 4:40 PM, Gerald Guido wrote: 2. Use iText. iText can a PITA for complex documents. I found it to be *much* less labor intensive to use a RTF document and add/edit content to the text file and converting it to a PDF using oolib http://oolib.riaforge.org/ I have been able to get much nicer formatting with that method compared to CFDocument. HTH G! On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352757 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Justify text in CFDOCUMENT?
Thanks. I was really just interested for future reference. I'm sticking with cfdocument for this project. On 9/25/12 7:09 PM, Gerald Guido wrote: Are there any writeups on doing that kind of thing? Not that II am aware of. This is all stuff that I figured out myself via trial and error. lots of error ;) I will be back on tomorrow and I can pull up my notes. Google RTF and CF in the interim. BTW I have been ALL over the whole creating PDFs thing for the last week so I am steeped in the subject matter. There are *lots* of ways to do it. It is just a matter of figuring out what fits your needs. For me it was RTF = oolib = PDF G! On Tue, Sep 25, 2012 at 7:52 PM, .jonah jonah@creori.com wrote: Interesting. Are there any writeups on doing that kind of thing? On 9/25/12 4:40 PM, Gerald Guido wrote: 2. Use iText. iText can a PITA for complex documents. I found it to be *much* less labor intensive to use a RTF document and add/edit content to the text file and converting it to a PDF using oolib http://oolib.riaforge.org/ I have been able to get much nicer formatting with that method compared to CFDocument. HTH G! On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote: This is an outstanding bug going back to 2005 when CF7 came out. The underlying engine that provides cfdocument doesn't support it and Adobe have confirmed numerous times they can't fix it because of the underlying engine. Basically, they need to rewrite it. So your options for now are: 1. Live with it (meh) 2. Use iText. Andy On 25 September 2012 21:49, .jonah jonah@creori.com wrote: I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT. It doesn't seem to support justifying text. Is there a way to make it do so? I've set in the CSS: p { text-align:justify; } But the text still comes out ragged right... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352758 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to set Locale to Malaysia
On 9/26/2012 3:27 AM, Dave Hatz wrote: I have never worked with Locale before, but we have a client in Malaysia that wants us to use their Currency symbol of RM instead of $. I have checked our CF8 for supported Locale's and don't see 1 for Malaysia. what version of java is your server running? if i remember, ms_MY wasn't part of core java until version 6. sorry but i don't recall what version of java cf8 supports. and FYI, you can just feed in the core java locale identifiers (en_US, th_TH, etc.) in place of those silly cf5 locale names. if you want to see what locales are actually supported, dump out server.ColdFusion.SupportedLocales (and you should notice that having those cf5 locale names actually causes locales to be duplicated in that list). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352759 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to set Locale to Malaysia
On 9/26/2012 3:27 AM, Dave Hatz wrote: Is there a way to set the Locale to Malaysia using CF8? oops, i missed to an opportunity to plug ICU4J ;-) if you can't upgrade java or cf, you can always use the ICU4J library. it's ULocale class does have resources for ms_MY. and i still *really* wish ICU4J was baked into cf. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352760 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to set Locale to Malaysia
oops, i missed to an opportunity to plug ICU4J ;-) i Man I cannot believe it... I was going to recommend that first :) I think CF8 uses 1.4, btw. -L ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352761 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to set Locale to Malaysia
On 9/26/2012 10:46 AM, Leigh wrote: ������ � oops, i missed to an opportunity to plug ICU4J ;-) i Man I cannot believe it... I was going to recommend that first :)� I think CF8 uses 1.4, btw. after actually bothering to look: http://helpx.adobe.com/coldfusion/kb/oracle-security-alert-cve-2010.html it seems cf8 is certified to run JDK 1.6.0_24. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352762 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm