One last comment .. made by Erik Arvidsson.. seems he agrees.
Very, very, very hard indeed.
Writing a mail application is hard using any toolkit. (Just look at
Mozilla Thunderbird.) The same applies to Google maps. Sure some things
might have been easier with WinForms, Avalon or Lazslo but the
So if I wanted to secure this link using the CFContent tag
a class=homeaa href=/documents/#docpath##doctitle#/a
I would replace it with
cfcontent type=application/pdf file=/documents/#docpath#
#doctitle#
Is this correct ??
Also what if there were multiple file types in the /documents
Not quite, because /documents/ is still web accessible. You need a folder
outside the web root for the best security, as Doug said.
As for multiple file types, you can provide the correct mime type based on
the file's extension, so you can mix file types as necessary.
-Original Message-
looked at that, thought about it... and this is first run, doesnt need to
be too too intricate... but thank ya kindly!
I really didn't think it was that intricate...
Since running across Rays blog code, I have to admit that all our new sites
use a similar approach to achieve their end goal
I just saw this message. How on earth do i convert ALL my files? One by
one?
You can use Ansi2UTF-8 to convert all your files in a batch...
http://store.newmediadevelopment.net/development_tool.cfm?ProductID=18
Paul
~|
While you're waiting for a better answer, set up one that runs at 11am, this
calls a page that changes the schedule to run again at 2pm, which changes
the schedule to run at 7:30pm, which changes
That any good for you?
Ade
-Original Message-
From: simmyana a [mailto:[EMAIL
I need to set scheduled task to run at specific time
intervals like at 11:00 AM, 2:00 PM, 7:30 PM at 11:00 PM.
How can i set a single scheduled task to run at these timings
Another lame way...
Call it hourly and check the time and only do action if matches the time
required?
--
dc
The point about labeling can't be emphasized enough.
You are effectively creating a variable when you say textLabel44, would that
be how you would want to trouble shoot code you are working with? Why would
you want to struggle with it in a configuration scenario?
The reason that we all like to
hola cftalk!
if you were making a website multi-lingual, how would
you
do it? my first idea, and what ive done so far, is to do
this:
1. create an xml doc that has one node for each
word/group of
words/phrase/label that appear on the web app.
2. read that xml doc into a persistent
All,
I want to replace a datasource that's listed through many DWMX sites.
I can do the search and get a list without any probelms. In fact, I can do
the replace all and it will replace all the references for me. My question,
the issue is how do I get the multiple files that have been changed
**All** of the output on my site comes from the database. I have a
languages table which can be completely maintained in my admin section.
I do exactly like someone else mentioned a few posts ago. I load my
languages into an application variable that's an array of structures.
This makes everything
How on earth do i convert ALL my files? One by one?
Wow, relax mon vieux ! ;-))
I had exactly the same reaction, but look at the second solution:
2º add this in your Application.cfm:
CFSET CFversion = listGetAt(server.coldfusion.productVersion, 1)
CFIF CFversion GT 5
cfcontent
so, the general consensus is what i kinda figured, and what paul hastings and
i were talking about...
load them up into an application scope structure with two sets... and
then display from there...
:) cool.
tw
On Tue, 22 Mar 2005 07:50:23 -0600, Ken Ferguson
[EMAIL PROTECTED] wrote:
**All**
The closest you might be able to get is to use the Synchronize function.
Expand the Site view window and in the menu, select Site Synchronize.
Be sure to make an offering of a sacrificial goat and have good backups
first.
-Kevin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Sounds like you really need to implement a revision control tool, e.g.
Subversion (http://subversion.tigris.org/, free, can be a little
complicated to get started) or Perforce (http://www.perforce.com/,
commercial, free for two users, very easy to use). With one of these
you'll be able to keep
Why does it need to be a single task?
If it's got to run four times, why not setup the same
task 4 times to run at the specified times?
Rick
-Original Message-
From: COLLIE David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 6:41 AM
To: CF-Talk
Subject: RE: Scheduled task
Is there any way to do grouped query output using cfloop? Reason is
that I use a switch/case statement for my page, and wrap the entire
thing in a cfoutput tag to make my code more readable. I would like
to do something like:
cfoutput query=foo group=groupcolumn
h1#groupcolumndata#/h1
cfoutput
This is the handiest file synching utility I have found so far. It is
not a version control app, however.
http://www.fileware.com/
I think it cost about $15 to register, but it was well worth the cost.
M!ke
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Yes, it's possible, but you need a few extra variables to store the
current grouped value and a CFIF tag or two.
Basically, you need to store the first grouped value in a temp variable.
If the next value is the same as what you stored, you don't output it.
You keep doing this until you get to a
(which you know doesn't contain the euro symbol)
Here we go again...
ISO8859-1 does not contain oelig; either, used in many French words;
Every body knows this and is able to use the HTML or numeric
representation instead;
same thing with the Euro symbol.
Anyway, the windows-1252 code, which
I've noticed some behavior from CFTRANSACTION that I wouldn't quite
expect. Here is some pseudo code:
CFSET transactionSuccess=false
CFTRANSACTION action=BEGIN
CFTRY
many CFQUERY tags
CFSET transactionSuccess=true
CFCATCH
Claude Schneegans wrote:
(which you know doesn't contain the euro symbol)
Here we go again...
indeed.
ISO8859-1 does not contain oelig; either, used in many French words;
right. another thing to watch out for.
Every body knows this and is able to use the HTML or numeric
representation
Using your pseudo code, I do the following... Never had a problem with it
and I'm not dependent on varables being set etc...
CFTRANSACTION action=BEGIN
CFTRY
many CFQUERY tags
CFTRANSACTION action=COMMIT /
It's expected behavior. The /cftransaction from CFTRANSACTION
action=BEGIN will automatically commit if no error occurred or
rollback if an error occurred.
Pascal
-Original Message-
From: Cliff Meyers [mailto:[EMAIL PROTECTED]
Sent: 22 March 2005 17:23
To: CF-Talk
Subject:
That is the expected behavior as I understand it.
If you just wrap one or more query blocks inside a pair of basic
cftransaction tags, the data will be committed if there are no failures,
otherwise none of the data is committed.
You do not need to use the begin, commit or rollback properties,
Hi Mike,
Thanks for the info, I'm really hoping that Macromedia will fix this.
Thanks again,
- Charles
On 3/18/05 5:05 AM, Dawson, Michael [EMAIL PROTECTED] wrote:
That is a bug that has yet to be corrected by Macromedia.
You could create a COM object that uses ADSI to pull that value into
On Sun, 13 Mar 2005 11:06:58 -0500, S. Isaac Dealey wrote:
specifically I believe cfsqltype=cf_sql_longvarchar
CF_SQL_CLOB is an undocumented type that is, I believe, more
specifically designed for the text field, though longvarchar also
works. I'm not sure if there's a significant difference
From what I can tell this is a limit of the flash player. How can you fix
this in cfmx 7 flash forms; other then breaking up the form into smaller parts.
David
~|
Logware (www.logware.us): a new and convenient web-based time
I believe with Oracle in later than CF5 you could insert/update more
than 4000 characters into a clob when using CF_SQL_CLOB. Not sure for
CF5 though, for some reason I recall it failing beyond 4000 and
requiring work arounds.
On Tue, 22 Mar 2005 10:44:53 -0700, Scott Brady [EMAIL PROTECTED]
Does anyone know where I can download Simple Message Board? The url on the
exchange no longer offers the download.
If not, can anyone suggest a good message board app?
Thanks,
Chris
This email and its attachments may contain confidential information
which is intended only for the use of
http://www.adersoftware.com/index.cfm?page=cfbb
From: Chris Terrebonne [mailto:[EMAIL PROTECTED]
Sent: Tue 3/22/2005 1:06 PM
To: CF-Talk
Subject: Spam:Message Board
Does anyone know where I can download Simple Message Board? The url on the
exchange no longer
Perfect! thanks
[EMAIL PROTECTED] 03/22/05 12:14PM
http://www.adersoftware.com/index.cfm?page=cfbb
From: Chris Terrebonne [mailto:[EMAIL PROTECTED]
Sent: Tue 3/22/2005 1:06 PM
To: CF-Talk
Subject: Spam:Message Board
Does anyone know where I can download
Try Galleon:
http://ray.camdenfamily.com/forums/
HTH,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
Find out how iMS
I have a requirement with our wonderful new Nortel system now to have
the intranet application interact and dial the phones, pop up customer
records on inbounds, etc.
I know I need to do it via TAPI. Are there any xml compliant pieces one
knows of that can send/interact with TAPI...or any
We are current inviting others to a BETA of our forum, please visit:
http://www.aftershockweb.net/forums/threads.cfm/ForumId/9
Thank you,
Aftershock Web Design, Inc.
by: Stan Winchester
President/Developer
Does anyone know where I can download Simple Message Board? The url
on the exchange no
Just a note to let folks know - CFLib is down and will be down for a few hours.
--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia
Once again, you're completely OT.
The question is NOT Is UTF-8 better than ISO8859-1?
Everybody including myself will probabily say YES,
The question is NOT should MM support UTF-8 or not?
The question IS should MM force their users to convert all their
applications which worked well
using
Do they not have one already?
we had a phone system (not nortel) that came with an app (that even
interrated with Outlook that was connected to exchange) that did a
similar thing
This was done with IP settings/protocol rather than TAPI itself im pretty sure
On Tue, 22 Mar 2005 13:11:26 -0600,
They have a software piece you install to enable integration (they say
via TAPI), but no documentation I can find how to interact with it. Get
data from it, etc, just a helpful (not) little personal call manager
app. I did find a promising solution at www.tapiex.com ... This is new
to me so just
Well, I am up and running already after giving that little activex
control (interfacing via dynamic DHTML) a try. Hope it helps someone
else in the future having it in the archives.
Eric J. Hoffman
Market Connections
2081 Industrial
Has anyone ported VB6 applications to the Web through CF pages?
We have a bunch of Visual Basic v6 applications that need to be ported
to our Web site. Has anyone had any experience do this? I'm the CF developer
and we have another person that is the VB developer. Between the two of us,
we
Claude Schneegans wrote:
The question IS should MM force their users to convert all their
applications which worked well
using ISO8859-1?
My answer is NO.
My answer to that question would be no too. But MM didn't force
it, MM just made UTF-8 a changeable default. Therefore the
question
Unless there are command-line versions of these VB programs or they have COM
interface in them, I think you're out of luck. You're going to need to
write a CF version of each of these programs, unless you redevelop them
altogether - I suggest .NET for code reuse between the windows and web apps.
Just wondering if anyone knows how to use the ArcIMS javabeans to
retrieve metadata tags from the metadata xml documents.
This is what I am trying to do.
If you go to www.geographynetwork.com and do a search on something it
will give you something like this.
Publisher: ESRI
Content Title: World
This looks like something I could really get some use out of to debug
some of my CFHTTP requests. But is there a way to get it to see ones
sent from the internal CFMX web server, the one that runs on port
8500?
Still trying to figure out how to do this, any ideas??
--- MJS
Howie Hamlin wrote:
Try Galleon:
http://ray.camdenfamily.com/forums/
I second this! Galleon is real nice, and free! Some stuff that's free
sucks (like my project, cfmbb), but Galleon is good. =)
- rick
~|
Logware
Cfbb seems very fast. Does anyone know how well it scales? (is there
file-based caching of pages, etc, or scopecache-like speed
optimization)?
-dbk
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 3:32 PM
To: CF-Talk
Subject: Re: Message
I very much like cfbb. I can't speak to scale but Andrew (the guy who wrote
it) does have a fairly extensive set of users and refers to a couple other
sites which have even more. I don't know about the caching of pages. Been a
while since I looked at the source files, but can remember is
Does anyone have a regex already written (or would any of you regex
gurus like you put something up) that could take the source code of an
HTML file and grab the value of an attribute given the tag and the
attribute that would be grabbed. For instance, if I wanted to get the
value of any classes
CF5/IIS5
I have a CFML tag constructed to produce as little white space as
possible - or so I thought. Basically, as shown bellow. Much more
complex, including many queries, but the key is that only one cfoutput
block gets executed between the cfsetting tags. The whole tag should
produce
Just an FYI, the machine hosting Galleon is having issues. If you
can't download it, email me at [EMAIL PROTECTED]
On Tue, 22 Mar 2005 13:47:51 -0500, Howie Hamlin [EMAIL PROTECTED] wrote:
Try Galleon:
http://ray.camdenfamily.com/forums/
HTH,
--
Howie Hamlin - inFusion Project Manager
What version of CF?
--Ben
Burns, John D wrote:
Does anyone have a regex already written (or would any of you regex
gurus like you put something up) that could take the source code of an
HTML file and grab the value of an attribute given the tag and the
attribute that would be grabbed. For
The standard answer for this question is Did you check any application.cfm
files?
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 4:10 PM
To: CF-Talk
Subject: Whitespace Woes
CF5/IIS5
I have a CFML tag constructed to produce as little white
CFOUTPUT carries across includes and tags for enableCFOUTPUTonly
processing. So if the tag is called within a CFOUTPUT block, your
CFSETTING tag will have no effect. Since that info is outside the
scope of what the tag can possibly know, you're better off skipping
CFSETTING and only using
6.1. I was looking at the archives and have come up with this but it's
erroring
I'm using the img instance because it's easier to test on pages that
have multiple images...
#refindnocase(img[^]*src=([^]*)*,cfhttp.fileContent,0,true)#
John Burns
Certified Advanced ColdFusion MX Developer
Application.cfm is entirely within a cfsilent block as well.
- Original Message -
From: Gaulin, Mark [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, March 22, 2005 2:16 PM
Subject: RE: Whitespace Woes
The standard answer for this question is Did you check any
I think that's it. Thanks Barney.
- Original Message -
From: Barney Boisvert [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, March 22, 2005 2:18 PM
Subject: Re: Whitespace Woes
CFOUTPUT carries across includes and tags for enableCFOUTPUTonly
processing. So if
CF5/IIS5
I have a CFML tag constructed to produce as little white space as
possible -
another way is to use this custom tag: StripWhiteSpace.cfm
!--- = ---
CFSETTING ENABLECFOUTPUTONLY=YES!--- Suspend whitespace output ---
Ironically, this tag has exactly the problem I illustrated, and
consequently will usually end up rendering a bunch of extra whitespace
itself.
cheers,
barneyb
On Tue, 22 Mar 2005 16:34:08 -0400, Andrew Grosset [EMAIL PROTECTED] wrote:
CF5/IIS5
I have a CFML tag constructed to produce as
This should be fairly simple but I'm drawing a blank. How do I divide a form
variable into multiple variables based on spacing?
For example, say a submitted text form variable's value is blue sky what
would be the easiest way to seperate this into two variables named Word1 and
Word2 with Word1's
What I've decided to do is build the output of the tag within a string and
use:
cfsilent
!--- tag body: build tag ouput string) ---
/cfsilentcfoutput#tagout#/cfoutput
But the old tag had a conditional where it would call another tag
cfif something
cfoutputcf_anothertag attr1=...
Well, I see a couple of problems with what you're using. First, you've
not got a closing on the attribute. Second, you've wrapped a regex
that contains a in 's, which will error out if you don't escape the
inner 's. You can wrap it with single quotes to fix that. Also, the
last * boggles
Treat the value as a list
listFirst(myVar, )
listRest(myVar, )
or listLast(myVar, )
or listGetAt(myVar, pos, )
-Original Message-
From: Paul Henderson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 23 March 2005 9:47 a.m.
To: CF-Talk
Subject: Seperate a Form Text Variable into
CFSAVECONTENT will do exactly what you need.
If the output is going to take a lot of steps to create, you might
want to look at not using raw string concatenation. Check
http://www.barneyb.com/blog/archives/2004_12.jsp#000250 for a couple
methods for avoiding it.
cheers,
barneyb
On Tue, 22 Mar
Use ColdFusion list functions. Ie,
cfset numberofwords = listLen(form.foo, )
That will give you how many words are in the value of form.foo, where
words are defined as being separated by spaces.
On Tue, 22 Mar 2005 16:46:51 -0500, Paul Henderson [EMAIL PROTECTED] wrote:
This should be fairly
On Tue, 22 Mar 2005 16:46:51 -0500, Paul Henderson wrote:
For example, say a submitted text form variable's value is blue sky what
would be the easiest way to seperate this into two variables named Word1 and
Word2 with Word1's value set to blue and Word2's value set to sky?
cfset myArrray =
Ironically, this tag has exactly the problem I illustrated, and
consequently will usually end up rendering a bunch of extra whitespace
itself.
cheers,
barneyb
Hmmm
I can't give you an example but using MX6.1 and with strengthmode on maximum it
will eliminate 99% of whitespace and output
Ben,
I can see what you've got (I think) and it makes sense, but for some
reason, it's not working. I'm grabbing the html from www.google.com and
running it on it and this is what I've got in my code:
#refindnocase('img.*?src=(.*?).*?',cfhttp.fileContent,0,true)#
I'm using cfdump to display
If you call the tag within a CFOUTPUT tag, then you'll get a few extra
lines of whitespace above the whitespace-suppressed content. The
actual suppression won't be affected, but the tag itself will generate
a few extra lines. If it's not within a CFOUTPUT tag, then it won't
put those extra few
Try
refindnocase('img.*?src=(.*?).*?',cfhttp.fileContent,1,'true')
I think the 0 and the non-quoted true are confusing it. Just a guess,
though. Also, have you verified the contents of cfhttp.filecontent?
--Ben
Burns, John D wrote:
Ben,
I can see what you've got (I think) and it makes
Hello,
I have the following problem:
I want to create a query object in Java *manually* and return in to CF. Lesser
problem is to send a query to Java from CF. I looked all over the web and I was
unable to find any example that would explain how to do in java simple things
like “queryAddRow()
Does anyone have a copy of this older custom tag. It used to be on the Allaire
site way back in the day (2000 - 2001). I really am desperate (otherwise I have
to rewrite a lot). Thanks!
EvoVII
~|
Find out how CFTicket can
We have to touch each field so the default value will have the mask
applied to it. If you view source you'll see the setFocus() code after
the form. If you add your setFocus() after the setFocus() that we run
your will be last and it will end on the field you want.
---nimer
-Original
MM just made UTF-8 a changeable default.
I'm just very curious about what you call a changeable default?
Isn't default the value of something changeable when it is not
changed? ;-))
~|
Logware (www.logware.us): a new and
What you're trying to do is far from being trivial, however, I'm pretty
sure that
CF_REextract should help you a lot. See the link below.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to
me thinks it's not a good idea to call any tag within a CFOUTPUT tag...at least
I'd try not to if at all possible.
Andrew.
If you call the tag within a CFOUTPUT tag, then you'll get a few
extra
lines of whitespace above the whitespace-suppressed content. The
actual suppression won't be
In general, I'd agree. But that's not a reason to make your custom
tags dependant on that fact, particularly one whose purpose is to
reduce whitespace.
http://www.spike.org.uk/blog/index.cfm?mode=entryentry=CC663650-D565-E33F-3DA8032FED9A0DC8
Spike's got a nice method for ensuring that your
You could put your grouped output in a separate file and cfinclude it...
-Brad
- Original Message -
From: Pete Ruckelshaus [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, March 22, 2005 9:53 AM
Subject: Grouped output with cfloop?
Is there any way to do grouped
I want to automate downloading a file from a public webserver.
I would prefer to save it to a client, but saving to the webserver will also
work.
Now I am using an a href=http://server/file.txtfile.txt/a
and manually saving from a browser.
Any ideas for automating it from CF (or other common
You can use cfhttp to grab the file off another site and save it to your web
server.
Russ
-Original Message-
From: Rodger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 8:02 PM
To: CF-Talk
Subject: Download a file
I want to automate downloading a file from a public webserver.
That was the problem, thanks everyone.
Rodger
At CrystalTech, from needs to be a valid and active email address at the
domain that you are sending from.
Pete
From what I remember, FROM has to be a valid email syntax, but not a valid
email address. MySolutions4You is not valid email syntax.
That was the problem, thanks everyone.
Rodger
-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 6:41 AM
To: CF-Talk
Subject: Re: Email problem
At CrystalTech, from needs to be a valid and active email address at the
domain that you are
I'm trying to understand a piece of code I came across from a while ago
and attempting to apply it to my current situation. Here's the deal. My
testing server is mx but work only has version 5 installed, which
(unless I'm wrong) means I cannot use cflogin. So, I'm attempting to do
this in a more
I'd, first of all, select all the data I needed in one chunk. Nice,
locally cached dataset, in RAM, speedy delivery.
What happens from there is different based on your first query... is
it ordered by your group-by value?
If not, I'd do this:
Run a query-of-queries to do a distinct select
I was thinking of writing a custom tag that would allow users of CFMX 6 and
maybe CF 5 to use the Flash datagrid kind of like how CFMX 7 uses datagrids.
Has anyone written something like this already?
Bob Everland
~|
Logware
If you are on CF 5 you can't use CFCs anyway, so there is no question of
jumping into them.
You'll have to do the query and see if any rows matching the username and
password are returned. You'll also have to rewrite any functionality in
CreatUserSession().
-Original Message-
From: Mark
On Wed, 23 Mar 2005 13:46:19 +1200, Mark Henderson [EMAIL PROTECTED] wrote:
I'm trying to understand a piece of code I came across from a while ago
and attempting to apply it to my current situation. Here's the deal. My
testing server is mx but work only has version 5 installed, which
(unless
Ok thanks guys, and pardon my ignorance. I hear what you are saying
John Paul, and had figured I'd simply have to check for a recordcount
from the query and then use that for my true false switch.
snip
Ummm, if production is CF5, then it's a moot point -- you can't use
CFCs in CF5 obviously so
Hi folks,
I have a routine that needs to scan a body of text, grab all URL's in that
text, replace them with a different URL and append the URL found on to the
end of the new one. I'm looking specifically for function of CF Tag that
will 'replace' URL's in a body of text or at the very least
it's not a good idea to call any tag within a CFOUTPUT tag
Why not gracious Lord?
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
Anyone have any suggestions? Somone suggested that there might be a limit
with the get method, but not the post method. I checked our form method and
we are using post. But still get the 32k span error.
Given our form is rather large around 6 tabs with full pages of form
elements.
David
I can say I saw a similar error when tooling around with Flex. Had to
do with a hard limit on the size of an xml file used as a model.
D
On Tue, 22 Mar 2005 22:32:05 -0500, David Brown [EMAIL PROTECTED] wrote:
Anyone have any suggestions? Somone suggested that there might be a limit
with
Does this help?
cfset newUrl = http://www.newurl.com;
cfset urlToReplace = http://www.oldurl.com;
cfset body = String with links in it
cfset body = replaceNoCase(body,urlToReplace,(newUrl
urlToReplace),ALL)
Very small modifications should be made if you are working with url
parameters.
Micha
Actually, this is a bit too simplified because what I needed was a way to
search for url's in a body of text without knowing what they are. Here's
what I came up with...a little custom tag called CF_GetLinkList.
If anyone can find holes in this, let me know...so far it seems to be
working
94 matches
Mail list logo