Re: removing chr(10), chr(13), chr(9), chr(12)

2010-08-23 Thread enigment
You might want to replace runs of consecutive unacceptable whitespace characters with a single space. Otherwise, two sentences that used to have CRs and/or LFs between them will be jammed against each other, with no space at all between them. Dave On Mon, Aug 23, 2010 at 12:10 AM, Matthew Smith

Upgrading to Coldfusion 8

2010-08-23 Thread Rick Root
List, Can I install Coldfusion 9 multi-server on a server already running Coldfusion 8 multi-server? I'd like to get it installed, get all the instances set up and configured BEFORE taking the site down reconfigure the web server connections... but I'm not sure if this is possible. I have

RE: Upgrading to Coldfusion 8

2010-08-23 Thread Mark A. Kruger
Rick, I've not done this for multi-server but I just did it for stand-alone so I suspect it's possible. In installed using the internal web server so I could configure the server using car files and manual settings. So I had both of them running. Then I changed the JVM file for CF9 to the prod

Re: Upgrading to Coldfusion 8

2010-08-23 Thread Matthew Williams
It's fairly easy to do. * Choose multi-server EAR/WAR during the CF install. Choose the EAR specifically. * Create a new folder in jrunhome/servers/yournamefolder. * Expand the EAR/WAR into folders. Use the CF8 folders as an example. cfusion-ear will have a

Dump to Excel from CF 5

2010-08-23 Thread Eric J. Ehlers
Yes, you read that right. CF FIVE. That's what Govt work will get you. I'm not used to developing in ColdFusion, so nuances are easily escaping me. I've tried using various iterations of CFCONTENT and CFHeader but nothing is changing. I'm only getting a display in the web browser. Clearly,

Re: Dump to Excel from CF 5

2010-08-23 Thread Won Lee
On Mon, Aug 23, 2010 at 11:46 AM, Eric J. Ehlers ericjehl...@gmail.comwrote: Yes, you read that right. CF FIVE. That's what Govt work will get you. I'm not used to developing in ColdFusion, so nuances are easily escaping me. I've tried using various iterations of CFCONTENT and CFHeader

Re: Dump to Excel from CF 5

2010-08-23 Thread John M Bliss
http://cflib.org/udf/Query2Excel On Mon, Aug 23, 2010 at 10:46 AM, Eric J. Ehlers ericjehl...@gmail.comwrote: Yes, you read that right. CF FIVE. That's what Govt work will get you. I'm not used to developing in ColdFusion, so nuances are easily escaping me. I've tried using various

RE: Dump to Excel from CF 5

2010-08-23 Thread Mark A. Kruger
Can you post what you have tried with cfcontent and cfheader? Also, keep in mind if you are doing this in IE it will cache the first mime type - so you can't do it once as HTML To test and then again as XLS ... it will end up showing as html again. Test in FF. -Mark Mark A. Kruger, MCSE, CFG

SOT: IT job vacancies up in first quarter

2010-08-23 Thread John M Bliss
In case you missed my tweet... At the same time, demand for specific skills, notably Sybase, C#, Coldfusion, .NET, SQL and Swing also increased over at least three consecutive quarters. http://www.managementconsultancy.co.uk/computing/news/2268566/number-advertised-vacancies-ict -- John Bliss

Re: Dump to Excel from CF 5

2010-08-23 Thread Michael Grant
It's been a while since I've used IE much but I *think* if you refresh using CTRL+R it refreshes and clears cache for that page. On Mon, Aug 23, 2010 at 12:13 PM, Mark A. Kruger mkru...@cfwebtools.comwrote: Can you post what you have tried with cfcontent and cfheader? Also, keep in mind if

RE: Dump to Excel from CF 5

2010-08-23 Thread Mark A. Kruger
Michael, Cool... I did not know that trick - I though CTR-F5 was supposed to do that - but it never worked for the mime type. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Michael

Re: Dump to Excel from CF 5

2010-08-23 Thread Rick Root
Assuming you are outputing HTML tables for your excel file, just use this code: cfheader name=Content-Disposition value=attachment; filename=somefile.xls cfcontent type=application/msexcel reset=true !--- now output HTML tables --- Or, if your code outputs the HTML document to a file, just add

Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
I'm looking for a script to parse (yahoo,bing,google) keywords from the cgi.http_referer variable preferrably done using CF's or a Java RegEx. Is there such a beast? TIA, Che ~| Order the Adobe Coldfusion Anthology now!

Re: Grabbing Keywords from Referers

2010-08-23 Thread John M Bliss
This does (at least) Google. Shouldn't be too difficult to extrapolate the others... cfloop index=thisarg list=#cgi.HTTP_REFERER# delimiters=? cfif ListFirst(thisarg, =) is q and ListLen(thisarg, =) is 2 !--- then user searched for URLDecode(ListLast(thisarg, '=')) --- cfbreak

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
Nice solution John. Thanks! Definitely different than mine. I wonder if the regex gurus have a solution as well. ;) -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Monday, August 23, 2010 1:00 PM To: cf-talk Subject: Re: Grabbing Keywords from Referers This

Re: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread John M Bliss
I wonder if the regex gurus have a solution as well. Oh, I'm sure. :-) On Mon, Aug 23, 2010 at 12:54 PM, Che Vilnonis ch...@asitv.com wrote: Nice solution John. Thanks! Definitely different than mine. I wonder if the regex gurus have a solution as well. ;) -Original Message-

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Andy Matthews
This regex would search through a string and return all occurences of q=followed by any character that's NOT an . q=[^]+ Given this string: http://www.google.com/search?source=ighl=enrlz=q=coldfusionaq=faqi=g-p3 g7aql=oq=gs_rfai=CJtNhsL9yTK_zHIWWhgTb-J3tDwAAAKoEBU_QXcSj It matches

Re: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread John M Bliss
Not sure where the second q= came from. From this: aq=f On Mon, Aug 23, 2010 at 1:44 PM, Andy Matthews li...@commadelimited.comwrote: This regex would search through a string and return all occurences of q=followed by any character that's NOT an . q=[^]+ Given this string:

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Andy Matthews
Ah. The text was so small in my testing app that I couldn't tell what that was. Try this instead: [?|]q=[^]+ That only looks for q= when immediately following a ? or an . Given the same string: http://www.google.com/search?q=coldfusionsource=ighl=enrlz=aq=faqi=g-p3

Re: Dump to Excel from CF 5

2010-08-23 Thread Drew Nathanson
Eric, Here is what I used with CF5 and it worked well for me. cfheader name=Content-Disposition value=inline; filename=filename.xls cfheader name=Expires value=#Now()# cfcontent type=application/vnd.ms-excel This forced the page to be an excel sheet. Be sure to have this in a frame or window

cfproperty getters

2010-08-23 Thread Michael Dinowitz
I'm using a component that has a variable of dsn. I set a cfproperty tag to get access to the dsn using the implicit getter ability of CF 9. cfproperty name=dsn It fails in all cases giving me a response of: The method getdsn was not found in component XXX Is there something simple I'm missing?

Re: cfproperty getters

2010-08-23 Thread Michael Dinowitz
And the answer is that the cfcomponent tag has to have accessors=true On Mon, Aug 23, 2010 at 3:24 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I'm using a component that has a variable of dsn. I set a cfproperty tag to get access to the dsn using the implicit getter ability of CF

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
Wow. That works very well. Thanks! -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Monday, August 23, 2010 2:55 PM To: cf-talk Subject: RE: RegEx: Grabbing Keywords from Referers Ah. The text was so small in my testing app that I couldn't tell what that

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
Andy thanks again so much... this seems to work with Yahoo,Bing Google. My RegEx skills are a work in progress. cfset referer = http://search.yahoo.com/search;_ylt=Aqj24Omsi1LGKlDY4_G1hi6bvZx4?fr=yfp-t-7 01-stoggle=1cop=mssei=UTF8p=children%20karate%20uniform cfset keywords =

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Andy Matthews
Awesome Che! Glad I could be of help! andy -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Monday, August 23, 2010 3:01 PM To: cf-talk Subject: RE: RegEx: Grabbing Keywords from Referers Andy thanks again so much... this seems to work with Yahoo,Bing Google.

Re: Upgrading to Coldfusion 8

2010-08-23 Thread John M Bliss
Synchronicity: Installing Multiple Versions of ColdFusion Together, with Daria Norris http://www.meetup.com/coldfusionmeetup/calendar/14515796/ http://www.meetup.com/coldfusionmeetup/calendar/14515796/ On Mon, Aug 23, 2010 at 9:44 AM, Matthew Williams mai...@geodesicgrafx.comwrote: It's

calling a cfc function from the same cfc

2010-08-23 Thread Matthew Smith
I currently have a cfc to handle 404's that is called by my 404.cfm. It is working fine, but I need to use the same cfc for different sites. This works (very simplified, much more going on): cfcomponent cffunction name=handle_404 access=public returntype=void cfargument name=requested_template

RE: calling a cfc function from the same cfc

2010-08-23 Thread Andrew Scott
You are calling it correctly, but what is the error message that you are getting? Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Tuesday, 24 August 2010 6:50 AM To: cf-talk Subject: calling a cfc

RE: calling a cfc function from the same cfc

2010-08-23 Thread Andrew Scott
Actually I don't think it will make a difference, but you should do this cfset domain1_404(arguments.requested_template) / Not this cfset variables.tmp = domain1_404(arguments.requested_template) / Reason being is that you are not returning anything from this method as it is set to void.

Re: calling a cfc function from the same cfc

2010-08-23 Thread Matthew Smith
cfset domain1_404(arguments.requested_template) / Hmm, that's a weird syntax. output needed to be set to yes. Thank you both for the help. On Mon, Aug 23, 2010 at 3:52 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually I don't think it will make a difference, but you should do this

Re: (ot) Site issue with Safari 5.01 on Mac

2010-08-23 Thread Rick Root
Looks like the problem here was related to Flash - we've got an on site IM client that was built with Flash, and of course it only shows up when you're logged in, which is why none of you saw the problem. And it only affected people with Flash on Safari 5.0.1 on Mac! Still not sure what the root