I think you're out of luck. If your pages require a client that parses
and executes JavaScript in able to display all the content, cfhttp and
cfdocument won't do that. I've never been able to find a way to easily
execute JavaScript and collect the rendered HTML on the server.
~Brad
O
If you are dealing in web content that changes and you want to compare
the current version to the previous version, look at some of the wiki
software, which has history and compare in the default install.
If you are looking at markup comparisons like Word does, that's a
more complex chore, but C
Is there any way to capture a rendered page that uses DHTML? I have a simple
test case where I use some JS to do a document.write('test') to the page and
then use CFDOCUMENT to grab the page via the src attribute. But none of the
dynamic content is ever rendered. Has any one had any success with t
You don't actually need a regex to put this into one easily read line:
replaceList(trim(finalDesription), ',,,', ',,,')
... Or some derivative there of.
Performance may differ slightly in favour of one way or another, but as much
as I love regexs and I use them frequently, they're rarely easy t
You're better off using regex-replace(){rereplace()} over replace() for more
than one condition. The pipe is a way to cheat the replace function but for
future string searching or replacing functions, try regex and you can even test
it online here:
http://www.cftopper.com/contentfiles/tools/re
"I have maintain connections selected."
Did you check that setting on all data sources for both CF Servers. Are
you storing client vars in via a datasource?
Run a trace on the SQL server to see what sort of operations are being
performed-- especially by new connections.
~Brad
~~
There ya go. :) Just found out you can use the pipe "|" as well.
-Original Message-
From: Tony Bentley [mailto:t...@tonybentley.com]
Sent: Thursday, August 13, 2009 2:35 PM
To: cf-talk
Subject: Re: Regex Help - Can this be simplified?
rereplace(string,"()+()","","all")
~~~
Sorry I didn't read the post very well
rereplace(form.description,"()+()+()","","all")
This does not replace a single with but I think it does the job.
~|
Want to reach the ColdFusion community with something they want?
Easy there, killer. You said "A". I said "B". You didn't preface it with
"in my opinion" any more than I did.
I still maintain that (in my opinion), it's preferable to write more legible
code. The single line may be just as easily readable for you, but you may
not always be the one maintainin
rereplace(string,"()+()","","all")
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/message
This, of course, is completely a matter of opinion. I prefer 1 line -
faster processing, and still easy to support. Again, that's MY opinion, and
I'm sure we have about a hundred other opinions on this list. There's no
doubt that there are many ways to accomplish something in ColdFusion. But
a
Hello,
On SQL Server 2005, the event view shows login from our two webservers (via
CF), but there are so many. In a couple of minutes there are over 500 of
these entries:
Login succeeded for user xyz. Connection: non-trusted. [CLIENT:
192.168.1.12]
I have maintain connections selected. So is th
Charlie, think of my problem like this. Say you had any 5 character combos
you wanted to remove, for whatever reason.
I'm just looking for a simpler (or so I thought) RegEx way to do this.
I could loop over a list, but I thought (perhaps naively) there might be a
Regex function that could accepta
less lines != simplified :)
A year from now, which version are you going to want to come back to when it
needs work? The 3 line version or the 1?
I'd prefer the 3. Easier to read.
Not really sure a regex solution is warranted here. You could probably get
one whipped up to find all instances
I'm not an expert with Regex, but you could do this:
","","all"),"","","all"),"","","all") >
Again, this is not regex, but it is a much more simplified (and faster I
believe) way of doing the same thing with 1 line of code.
Dave Phillips
-Original Message-
From: Che Vilnonis [mailto:ch.
Is there a way using CF's Regex functions to simplfy the lines of code below
into one line? Some kind of built in regex list comparison maybe?
", "",
"ALL")>
", "", "ALL")>
", "",
"ALL")>
Thanks, CV
~|
Want to reach the ColdF
>>Do you see any potential security issues with this i.e. sql injection
via the email
As far as SQL injection is concerned, the risk is pretty low with an
Access database, since it cannot process
multi-statement SQL command. Unless there are tricks I don't know, all
SQL injections are based
on m
Hi,
We would very much appreciate some expert interegation of the following
scenario:
An ms access database system is setup within an internal network. It has no
internet access or entry.
It stores sensitive data. However non-sensitive data is passed to it via an
email that is collected by a
And working alone indeed
2009/8/13 Rick Root
> Not a problem if you're using Firebug and Coldfire =)
>
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Ar
On Thu, Aug 13, 2009 at 4:31 AM, Dominic
Watson wrote:
>
> Yes absolutely right - dang useful that. The other thing to be weary of is
> cf debugging output - so:
>
> type="application/json" />(output code)
>
> I think this is especially helpful when there are other devs working on the
> same proj
Yes absolutely right - dang useful that. The other thing to be weary of is
cf debugging output - so:
(output code)
I think this is especially helpful when there are other devs working on the
same project.
Dominic
> Ah, see, my application.cfm outputs some html comments that sometimes
> screws
21 matches
Mail list logo