URGENT: Regex, text documents, CF5 question

2005-09-16 Thread Pete Ruckelshaus
Background: I am building an application that is going to replace a client-server document publication app. The old app was custom written and used MS Word as the editor to save and store content for the documents that needed to be published. It was poorly implemented, but it worked well enough.

Re: URGENT: Regex, text documents, CF5 question

2005-09-16 Thread Ben Doom
First, your ODBC problem. You can set up a DSN in Win2k, which is an ODBC connection to the DB. CF 6 and (I presume) 7 can connect to that without (anecdotally) much overhead. Second, your RegEx problem. I wouldn't use RegEx at all here. Just use a simple replace() to do this. You aren't

Re: URGENT: Regex, text documents, CF5 question

2005-09-16 Thread Michael Dinowitz
\t is a RegEx syntax that is not supported in CF5, only CFMX. You need to use a #chr(9)# in its place. cfset tmp.content = rereplace(tmp.content, [\t]+, nbsp;nbsp;nbsp;nbsp;, ALL) Which I thought would replace tabs, but it's instead replacing all of the t characters. What's wrong with my regex

Re: URGENT: Regex, text documents, CF5 question

2005-09-16 Thread Claude Schneegans
whatever number tab is char(9) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: cf5 question

2005-05-09 Thread Adam Haskell
couldn;t you just do #application[client.version][s][scenario]# aside from it looking cleaner its is better b/c it doesn't use evaluate :) Adam H On 5/8/05, Dave Watts [EMAIL PROTECTED] wrote: Hi, I have a blank, it's been too long since I worked with CF5. I'm trying to do something that

cf5 question

2005-05-08 Thread CFDEV
Hi, I have a blank, it's been too long since I worked with CF5. I'm trying to do something that works fine on cf mx but not on cf 5 #evaluate(application. client.version .s scenario)# How should I do it in cf5? Thanks Patrick

RE: cf5 question

2005-05-08 Thread Dave Watts
Hi, I have a blank, it's been too long since I worked with CF5. I'm trying to do something that works fine on cf mx but not on cf 5 #evaluate(application. client.version .s scenario)# How should I do it in cf5? Since the Application scope is exposed as a struction in CF 4.0.x and

RE: cf5 question NEVERMIND

2005-05-08 Thread CFDEV
Oops.. Sorry..it works fine on CF5, the error was just beside ... Pat -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: May 8, 2005 17:12 To: CF-Talk Subject: cf5 question Hi, I have a blank, it's been too long since I worked with CF5. I'm trying to do something

CFGRID and CF5 question

2002-03-11 Thread David Green
Hello List thanks for the help It's been a while since I have used CF. I was wondering if something changed with CFGRID in version 5. I believe since our upgrade all the places where we used cfgrid are now dieing because the receiving page can not see the value that was selected from the