Add a CHR(13) and/or CHR(10) character to the end of the line.
-Original Message-
I'm using a cfoutput inside cfmail to output a query.
cfmail from=[EMAIL PROTECTED] to=#GetName.PrimaryEmail#
subject=USGenWeb Registration server=#SESSION.server#
username=#SESSION.username#
Spaces in the input fields?
Did you examine the resulting query in your debug output?
You're going to use cfqueryparam when you finalize this, right?
-Original Message-
I am doing a very, very simple search on two database columns, Title
and Link.
For my query, I am also doing the
cfif (form[editor_ ee] is not and form[editor_ ee] is not
other) or (form[editor_ ee] is other and form[e_fname_ ee]
is not and form[e_lname_ ee] is not )
!--- action: do something ---
/cfif
That should do what you want. It also eliminates the use of evaluate().
If you want to
(Trying again, as this seems to have not been received.)
Well, thanks for all the feedback.
Oddly, all of the gateways on our development server throw this error,
but the same gateways work fine in our test and production environments.
Code is all the same and the servers are SUPPOSED to be
Something monkeying with the jsession cookie, I imagine. A
poorly-conceived spyware blocker, perhaps, or a poorly configured proxy
server.
Can you find any commonality among the users this is happening to?
Browser version? Company or IP address?
-Original Message-
I know this may be a
You may have other issues there. If an ampersand is properly encoded as
amp;, your replace() statement will make that amp;amp;
Shouldn't the source of that XML be escaping the ampersand?
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 11:33
You might want to look into the Java string-handling functions. There's
probably something there that will serve and should be plenty fast.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 1:01 PM
To: CF-Talk
Subject: Finding one line of text
I don't know about speed and memory efficiency, but I would think that
option 3 would be the easiest to work with and offer the best data
integrity.
Of course, I wouldn't write to the SESSION scope in each loop iteration.
I'd write to a local variable and only write to SESSION when it was all
I'm using cflogin to authenticate users on a site. Is there a way to
return the roles that a user is in (i.e. the roles that are passed
in using CFLOGINUSER)? I'm using a very hackish method of looping
through all of the roles for a site and using isuserinrole() to
determine this, but was
I found the scheduler in version 5.0 and lower to be inherently
unreliable. When we still had CF5.0, we used the NT scheduler and the
CFML.EXE executable for our scheduled tasks.
-Original Message-
I have version 5.0 of CF.
In the Scheduler I have set a cfm page to run every day at
null=#iif(COURSE.COU_LANGUAGE_STUDY IS '',de('Yes'),de('No'))#
Why not #yesNoFormat(COURSE.COU_LANGUAGE_STUDY IS '')# ?
~|
Macromedia ColdFusion MX7
Upgrade to MX7 experience time-saving features, more productivity.
I think the JavaScript window.home() is what you're looking for.
-Original Message-
From: ch g [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 2:05 PM
To: CF-Talk
Subject: Re: Browser default home page
I just want to redirect to their default home page once they are done
with
Well, thanks for all the feedback.
Oddly, all of the gateways on our development server throw this error,
but the same gateways work fine in our test and production environments.
Code is all the same and the servers are SUPPOSED to be identical.
Any ideas?
-Original Message-
Error
Error invoking CFC for gateway myGateway: String index out of range: -1
Anyone have any experience with this error?
The cfc is essentially empty at this point. It's an initiator gateway
and all I have (after removing things trying to debug) is just an
onIncomingMessage() function that doesn't
Anyone know what happened to the 13amp SparkPlug CMS?
13amp.com is suspended by the ISP and 13amp.net redirects to some learn
Chinese site.
~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with
If you know the number range you're using, and there are no gaps,
something like this should do the trick
cfloop from=1 to=#upperbound# index=i
cfquery datasource=#dsn#
INSERT INTO ANSWERS
(
QUESTION_ID,
ANSWER
)
VALUES
cfqueryparam cfsqltype=CF_SQL_INTEGER value=#i#,
For one thing, you have too many pound signs.
cfset mylist = listappend(mylist, #FORM[ 'Q#Results.QuestionID#' ]#)
Should be
cfset mylist = listappend(mylist, FORM[ Q#Results.QuestionID# ])
Where is Results.QuestionID coming from? If you're using this code
inside of a loop for a query result,
What am I doing wrong?
Not scoping your variables. Application is not one of the scopes that CF
searches when presented with an unscoped variable. You have to
explicitly use the application scope prefix.
~|
Deploy Web
Did you look at ListCompare ( http://www.cflib.org/udf.cfm?ID=149 ) ?
ListDiff ( http://www.cflib.org/udf.cfm?ID=660 ) ? listsAreDistinct (
http://www.cflib.org/udf.cfm?ID=960 ) ?
One of those sounds like it'll do what you want.
-Original Message-
From: Joel Watson [mailto:[EMAIL
What are your plans for duplicates? I see that http://www.macworld.co.uk/ is
listed twice, for instance.
-Original Message-
From: Rey Bango [mailto:[EMAIL PROTECTED]
Sent: Monday, March 05, 2007 8:59 AM
To: CF-Talk
Subject: Re: GotCFM.Com Status Report
Hi Claude,
Please email me with
Alternatively I could save the form data on the confirmation page to
hidden values and then on the action page use the data in the
hidden fields to write to the database.
That's probably how I would approach it.
Uncle Ben's CF_EmbedFields custom tag would make this easy.
And of course, I don't need to warn you about just blindly taking the
data you've saved into the form and got then got handedd back and
using it in SQL do I ?
Of course not. I am a zealous user of cfqueryparam.
~|
ColdFusion
I'd still parse the inital form into the session scope and just
redisplay that though.
Nothing wrong with either approach, of course. I had a couple of reasons
for thinking form would be better.
- I have to have a form for the configuration button anyway.
- Sessions would have to be enabled.
-
cfif form[file i] is not
cffile ...
/cfif
-Original Message-
From: Rick King [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 9:50 AM
To: CF-Talk
Subject: upload multiple images
Hey all, I'm using the following script to allow users to upload 3
images. It seems to
Whatever happened to the group on Frappr.com?
-Original Message-
From: Nicholas M Tunney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 28, 2007 10:03 PM
To: CF-Talk
Subject: Show your support for CF - cfMaps.com
I think this fits into the discussion over the last two days well
The CFPOP tag returns a query on action=getAll, which has a column
BODY which presumably has the text that you want to manipulate.
-Original Message-
I have a plain text email that this pushed out when triggered by a third
party app (BaseCampHQ). Inside Basecamp, I can point this email
The U.S. Federal and State Governments love CF. Unfortunately, most of
the uses of it (like mine) are on intranet applications.
http://www.google.com/search?source=ighl=enq=index.cfm+*.govbtnG=Goog
le+Search gives some of the public ones, though.
If you want to keep the spam down, I suggest using rel=nofollow.
You'll probably need a CAPTCHA at some point, too.
-Original Message-
From: Rey Bango [mailto:[EMAIL PROTECTED]
Sent: Monday, February 26, 2007 11:22 PM
To: CF-Talk
Subject: ANN: GotCFM.Com is Launched - Dedicated to CF
Sure. Replace the substring that you want to use as a list delimiter
with a single character, then do your list operation. For the single
character, be careful to use something that's unlikely to be in your
data already. I like to use a non-printable character for this, like
the Bell character
Is 1.4.2_11 officially approved for use by Adobe for CFMX 6.1 and
7.02?
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 MX7 integration create powerful
1. a function that returns true if a string has length, and false if
it doesn't,
I like to use IsNull () ( http://www.cflib.org/udf.cfm?id=644 ) which
should be easy to convert to IsNotNull().
~|
Upgrade to Adobe ColdFusion MX7
If you want to use a reserved word as part of the Verity search, you
need to put it in quotes.
Criteria=Why $50 per Barrel Oil is 'Not' Out of the Question
-Original Message-
From: Jason Herbolsheimer [mailto:[EMAIL PROTECTED]
Sent: Friday, January 12, 2007 2:06 PM
To: CF-Talk
?
-Original Message-
From: Everett, Al (NIH/NIGMS) [C] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 12, 2007 1:18 PM
To: CF-Talk
Subject: RE: cfsearch issue
If you want to use a reserved word as part of the Verity search, you
need to put it in quotes.
Criteria=Why $50 per Barrel Oil
Are you using any kind of third party user authentication, like
SiteMinder. I ran into exactly this.
When I entered the URLs in my own browser I was already authenticated
with SiteMinder, so they ran. When ColdFusion tried to run them it, of
course, didn't authenticate with SiteMinder. Since
listOfSections = structKeyList(getProfileSections(inifile.ini))
I've done such a thing. Let me see if I can dig up my code...
cffunction name=loadFromINI access=public output=false
returntype=struct hint=Given a fully-qualified path to an *.ini file,
returns a structure with the key/value pairs
Try DollarAsString
http://www.cflib.org/udf.cfm?ID=58
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007 11:53 AM
To: CF-Talk
Subject: Number to currency words
Is there anything out there that will take a number and convert it to
words
Of course, if you wanted to roll your own, judicious use of
NumberAsString() should serve you well.
-Original Message-
From: Everett, Al (NIH/NIGMS) [C]
Sent: Wednesday, January 10, 2007 3:06 PM
To: CF-Talk
Subject: RE: Number to currency words
Try DollarAsString
http://www.cflib.org
My first organizational request would be for a Mailing Lists section
to showcase all of the ColdFusion specific mailing lists. This does
benefit me a little as each list here is a separate entity (like the
various google or yahoo lists), but not all of them are ColdFusion
specific.
You'll
I'm using a bean cfc for an instance of a meeting. Each meeting can have
between 0 and 10 sponsors. (These are just string values.)
Rather than have setSponsor1, getSponsor1, setSponsor2 etc. and have 10
different properties in the instance, I thought I'd put it into an
array. This has two other
To: CF-Talk
Subject: Re: Using arrays in a simple bean
Is there are reason you cannot use Structure for meeting sponsors?
e.g.
cfset variables.instance.sponsors = StructNew() / cfset
variable.instance.sponsors[sponser1] = 'Name of Sponsor' / ..
HTH
On 12/21/06, Everett, Al (NIH/NIGMS) [C
with an array of beans aka value objects.
I would definitely test performance.
Teddy
On 12/21/06, Everett, Al (NIH/NIGMS) [C] [EMAIL PROTECTED] wrote:
I'm using a bean cfc for an instance of a meeting. Each meeting can
have between 0 and 10 sponsors. (These are just string values.)
Rather than
I've done something like that. My method was to have a hidden form field
with the original data and compare it to the submitted data.
input type=text name=userName value=#variables.userName#
input type=hidden name=userName_orig value=#variables.userName#
!--- Action page ---
cfif form.userName
openoffice.org
-Original Message-
From: Will Tomlinson
Sent: Thursday, September 21, 2006 8:48 PM
To: CF-Talk
Subject: OT: The best free word editor?
I haven't been able to reinstall any word editors since my puter crashed
a few months back. What's the best free editor out there?
A software firewall, perhaps, that is blocking cookies?
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 11:39 AM
To: CF-Talk
Subject: RE: SESSION won't save on user's computer
I believe so, but it does this in both IE AND a fresh
Syntactically correct ColdFusion variables contain letters, numbers, and
the underscore.
-Original Message-
From: Chad Gray
Sent: Monday, September 11, 2006 11:11 AM
To: CF-Talk
Subject: isdefined() error
Isdefined is giving me an error when a form variable has a slash
character in
One of the sample asynchronous gateways that ships with CFMX 7 is a
directory watcher.
-Original Message-
From: Crow T Robot
Sent: Thursday, August 31, 2006 3:14 PM
To: CF-Talk
Subject: directory listener
Anyone know of a way to create a listener that would listen to a
directory and
Basically, it can't be done. Not with HTML and JavaScript, anyway. It's
a security issue. What you're seeing is by design.
You'd have to use something other than input type=file.
-Original Message-
From: Casey C Cook
Sent: Thursday, August 31, 2006 3:03 PM
To: CF-Talk
Subject: File
Following up.
After going round-and-round with the hardware guys, they finally called
Microsoft who had them get a crash dump. MS's analysis says that the
culprit is JRUN_IIS6_WILDCARD.DLL.
00d51264 77bcde94 00d51280 1000d60f 00d532f0 msvcrt!_output+0x6a7
00d512a0 10001d02 00d522cc 0fff
Try downloading the latest wsconfig and rerunning the connection to
IIS. I believe it will create wsconfig\2 folder with the
newer dll in it.
I'll pass that along.
If all else fails, reinstall windows,
Unlikely.
or better yet install apache :-P
Not an option.
I don't think you need to loop at all. Your ranges are 10 numbers
apiece, right?
cfset currentValue=72
cfset rangeSize=10
!--- Use integer division ---
cfset startValue=currentValue \ rangeSize * rangeSize + 1
cfset endValue=startValue + rangeSize - 1
\ is the operator for integer division.
72
Do you mean storing CLIENT variables?
-Original Message-
From: Maureen Barger
Sent: Thursday, August 24, 2006 1:15 PM
To: CF-Talk
Subject: storing registry in a datastore
When doing this, do I need to define any tables or columns? Or simply
create the instance and let ColdFusion do its
How very inefficient. How about something like this:
cfquery name=get_vid_ids datasource=#datasource#
SELECT vidwee_id
FROM vidweek
/cfquery
cfset idList=valueList(get_vid_ids.vidwee_id)
cfset idPosition=randRange(1,listLen(idList),SHA1PRNG)
cfset VAL_ID=listGetAt(idList,idPosition)
CFQUERY
Well, yeah, because the form variables don't exist because you're not
submitting a form.
There are a couple of ways I would attack this:
1. Cache the initial query to the session scope. Then do a query of
query to sort when one of the headers is clicked.
2. Have the form use method=get so that
cfset localDir=getDirectoryFromPath(currentTemplatePath())
cffile action=write file=#localDir#test.xml
output=#cfhttp.filecontent#
-Original Message-
How would I write the file to my filesystem, could you explain please.
Uh...not as I understand it. CF looks for an Application.cfm in the
current template's directory. If one isn't found it looks in the next
higher directory and keeps moving up the directory tree until it finds
an Application.cfm or reaches the root directory. It never runs more
than one
Got a scenario I'm currently investigating. Our test and production
machines are crapping out on a daily basis. It appears that something
ColdFusion is doing is bringing down the IIS application pool. Oddly,
the identically-configured development server is unaffected.
What would cause that to
Hmmm...there is a distinct lack of named locks around some cffile calls
in a scheduled task. (Not my code.) A possible culprit?
The other difficulty here is that this was not happening until after
some access changes had been made to allow a directory to be accessed by
an anonymous web user for a
Simply go into the ColdFusion Administrator and enter your serial
number.
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door
A space perhaps?
cfqueryparam value=#trim(URL.productID)# cfsqltype=cf_sql_integer
/
-Original Message-
From: Richard Cooper
Sent: Wednesday, August 16, 2006 10:51 AM
To: CF-Talk
Subject: cfqueryparam acting up
Hi,
I've recently been getting some odd occurrences when using
What does preg_replace do that REReplace() doesn't?
-Original Message-
From: Dmitrii Dimandt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 11:04 AM
To: CF-Talk
Subject: Re: Transform Unicode characters
Because it transforms charactrs into garbage (sth. like %C4%B1 for ı).
/16/06, Everett, Al (NIH/NIGMS) [C] [EMAIL PROTECTED] wrote:
What does preg_replace do that REReplace() doesn't?
-Original Message-
From: Dmitrii Dimandt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 11:04 AM
To: CF-Talk
Subject: Re: Transform Unicode characters
Call before you dig!
I expect there will be a lawsuit or three out of this.
-Original Message-
From: Casey Dougall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 2:50 PM
To: CF-Talk
Subject: Re: OT: Anyone else affected by the hostmysite outage?
ha... they posted photos of
I work in a locked-down environment. I cannot install software myself
nor choose different tools to use.
We're using CFMX 7, so naturally I want the extensions for Dreamweaver
MX 2004.
I cannot install them as I do not have administrative rights to my
machine. One of the tech guys can install
So alias it.
SELECT
c1.COMPANY_NAME AS BRAND_NAME, c2.COMPANY_NAME AS LABEL_NAME,
c3.COMPANY_NAME AS MANUFACTURER_NAME,
c4.COMPANY_NAME AS PUBLISHER_NAME, c5.COMPANY_NAME AS
STUDIO_NAME
-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August
CF Eclipse doesn't require an install. You just execute the exe.
Although that could have all kinds of policy repercussions I would
imagine.
Indeed. I'm not allowed. Not if I want to stay employed, which I do.
I'm surprised that NIH is that locked down. The software is approved
throughout
I'll pass that along, thanks.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 11:44 AM
To: CF-Talk
Subject: RE: ColdFusion extensions for Dreamweaver MX 2004 -
non-administr ator
I cannot install them as I do not have administrative rights
Did you try getMetaData()?
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 12:23 PM
To: CF-Talk
Subject: CFDumping a bean
I want to dump a bean, but a dump on a bean only gives me a list of the
functions. How do you dump a bean? Do
It's likely they're testing their system so they can charge people to
send their spam.
We can guarantee your message will appear on 50,000 websites and will
be indexed by Google within 1 week!
-Original Message-
From: Les Mizzell
Sent: Friday, August 11, 2006 9:50 AM
To: CF-Talk
aolMe too./aol
-Original Message-
From: loathe
Sent: Friday, August 11, 2006 10:39 AM
To: CF-Talk
Subject: RE: CFIF inside a Form
I prefer:
select
cfif value eq url.value
cfset selected = selected
cfelse
cfset selected =
/cfif
their RSS Notification feed
Got an URL?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
Then your security team is full of idiots.
No comment.
I wish to remain gainfully employed so I just deal with it. I have
pointed out several times that this prevents from using some of the
power of source versioning, like branching, and interferes with unit
testing, among other issues.
Simplest, to me anyway, would be a config.ini file with the data needed.
Second choice would be XML. Third choice a database table.
Option 3 really requires a front-end, as letting people directly edit in
the database gives me the heebie-jeebies. The other two, not so much,
although it's do-able.
Is it possible there's a null value in that column? That would result in
an empty string for CF and gt would be an invalid operator.
cfif val(getDollDetails.price) gt 0 might be better.
-Original Message-
From: Donna French [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 5:02
Wasn't this problem fixed in CFMX 7?
-Original Message-
From: Kris Jones
Sent: Wednesday, August 09, 2006 7:57 AM
To: CF-Talk
Subject: Re: Sessions seem to go away for some (CFMX701-Linux)
If you use CFLOCATION on the same template after a CFCOOKIE set, the
cookie will not be set. I've
Is there a way to programmatically get data from currently defined
scheduled tasks without parsing the neo-cron.xml file?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion
Is there a way to programmatically get data from currently defined
scheduled tasks without parsing the neo-cron.xml file?
Nevermind. I found an answer.
http://www.bpurcell.org/blog/index.cfm?mode=entryentry=935
~|
Introducing
Here's the Google cache
http://216.239.51.104/search?q=cache:kC0aaNbiwDcJ:www.bpurcell.org/blog/
index.cfm%3Fmode%3Dentry%26entry%3D935+coldfusion+service+factory+schedu
led+taskshl=engl=usct=clnkcd=1lr=lang_en
-Original Message-
From: Aaron Rouse
Sent: Wednesday, August 09, 2006 3:42
I'd love to do that, but we're not allowed to have servers installed on our
desktop machines for security reasons.
-Original Message-
From: Oðuz_Demirkapý
Sent: Wednesday, August 09, 2006 2:37 PM
To: CF-Talk
Subject: RE: Development Environment Setup
Test Server --- SVN ---
Nice tag apart from it's gramatical problems...
Irony.
Has anyone already suggested the UDF at
http://www.cflib.org/udf.cfm?ID=40 ?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date
That's by design. ColdFusion is escaping your single quotes.
You need to either wrap your string in the PreserveSingleQuotes()
function or, better, use cfqueryparam
-Original Message-
From: David Carter
Sent: Monday, August 07, 2006 3:14 PM
To: CF-Talk
Subject: cfquery - single quotes
cfset myVar=dateAdd(d,30,now())
-Original Message-
From: Tim Laureska
Sent: Thursday, August 03, 2006 11:38 AM
To: CF-Talk
Subject: 30 days from now date variable
How do you set a variable to be 30 days from today?
~|
I'd think a structure.
cfif structKeyFind(stAssets,thisAssetName)
cfset currentAccess=stAssets[thisAssetName]
cfelse
cfset currentAccess=none
/cfif
Abstract it into a function for better code re-use.
-Original Message-
From: David S. Neuman
Sent: Thursday, August 03,
Bonuses? Who gets bonuses?
I'd be happy getting an extra 40 hours PTO.
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 5:19 PM
To: CF-Talk
Subject: Re: Unofficial CF Developer Salary Survey
+ bonuses you could find yourself
How about Aptana?
Someone blogged about it yesterday.
http://www.remotesynthesis.com/blog/index.cfm/2006/7/31/Aptana-EclipseBa
sed-Web-IDE
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2006 11:12 AM
To: CF-Talk
Subject: OT: Eclipse and CSS
aolMe too./aol
-Original Message-
From: Ken Ferguson
Sent: Wednesday, August 02, 2006 11:26 AM
To: CF-Talk
Subject: RE: ColdFusion Tag and Attribute Case
As far as tags go, I am an all-lowercase type of guy. Functions and
variable names are where I use mixed-case, but tags are all
http://www.frappr.com/cfdevelopers
-Original Message-
From: Dan Plesse
Sent: Tuesday, August 01, 2006 12:13 PM
To: CF-Talk
Subject: Re: Advanced Developer Average Salary
It seems like a lot of employers are still very interested in the
location of CF developers. Is there a google map
It's guaranteed to bring back 0 records, giving you just the query
columns.
By the way, if that's your real username and password, you should
probably change them, because now the entire world knows it.
-Original Message-
From: Terry C. Mergl [mailto:[EMAIL PROTECTED]
Sent: Monday,
I think you mean CAPTCHA.
If so, there have been a number of conversations about it on this list
in the last couple of weeks. A quick perusal of the archives should
help.
-Original Message-
From: Steve LaBadie
Sent: Friday, July 28, 2006 8:06 AM
To: CF-Talk
Subject: Random Characters
Change the end date to yesterday?
Re-enable by changing the end date to NULL.
-Original Message-
From: kurt schroeder [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 3:28 PM
To: CF-Talk
Subject: Event Scheduler question
I sometimes have to take a scheduled task off line. I've
Searched houseoffusion.com and Google and wasn't able to find anything.
I'm working on a small intranet application that has a module where
users can upload files, generally PDFs.
Some of these PDFs can be quite large. In fact, on anything larger than
about 2.4MB, the web server throws a 500
My mistake. We're still on CFMX 7.0.
-Original Message-
From: Eric Haskins [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:31 PM
To: CF-Talk
Subject: Re: SOT: uploading large files
We are Running 7.0.2 but have you checked under Server Settings -
Settings there is a field for
It figures.
It appears that the root of the problem is Siteminder, which is used
here for authentication. Which is hosted on a completely different
server, in a completely different building, and managed by a completely
different group.
I suppose the first clue was when no errors appeared in the
Hmmm...I didn't include all of the HTML elements. I'll try that.
-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 5:51 PM
To: CF-Talk
Subject: RE: Creating a watermark for CFDOCUMENT
I got something working with the following code, the
No dice. I tried with the doctype and html element outside CFDOCUMENT
and inside. I even popped a cfcontent reset=yes before it to make
sure my framework code wasn't enforcing a layout on it. Still nothing.
Viewing the output as HTML my background image is there, but CFDOCUMENT
refuses to use it.
That shouldn't have anything to do with it, as it's a PDF document.
-Original Message-
From: Qasim Rasheed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 10:06 PM
To: CF-Talk
Subject: Re: Creating a watermark for CFDOCUMENT
I can be way off but have you tried setting up in
Okay. Got any code to share? I mean, it seems straightforward enough to
me, so I don't see why it's not working.
-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 11:07 PM
To: CF-Talk
Subject: Re: Creating a watermark for CFDOCUMENT
I've
No, no change.
Here's the code I have:
cfdocument backgroundvisible=yes format=pdf pagetype=letter
orientation=landscape
cfif arguments.report_status is draft
style type=text/css media=print
body {
I have a report I am creating with CFDOCUMENT. (CFREPORT would have been
better, but this report has a lot of extra logic in it that CFREPORT
wasn't going to allow me to do, but that's beside the point.)
What I want is to have a watermark on the document if the user creates
it with the draft
It's also the name of a ColdFusion scope, which can cause a lot of other
weirdness. I suggest using a different variable name.
-Original Message-
From: Nathan C. Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 2:28 AM
To: CF-Talk
Subject: RE: Complex object types - a little
CreateTime() does what you want.
cfloop from=0 to=23 index=hr
cfoutput#TimeFormat(CreateTime(hr,0,0),hh:mm
tt)#/cfoutputbr /
/cfloop
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 9:35 AM
To: CF-Talk
Subject: hour as string
1 - 100 of 542 matches
Mail list logo