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.
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
\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
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.
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
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
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
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
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
9 matches
Mail list logo