current app sets the datasource in onApplicationStart(). i can't have
ormEnabled=true unless there's a datasource.and it doesn't look like i can
intialize orm at the end of onApplicationStart() by doing a this.ormEnabled=true
what are the alternatives?
I'm thinking one where i set
scenario is this. main thread starts a pool of threads to do work.the
result of all threads are combined together to form a big result set and
returned.
however, i'm envisioning that if 1 thread fails, the thread join is still
waiting for the 9 other threads to complete before throwing
Hi,
When I dbl-click on a CF template in Windows Explorer, it
automatically opens the template in CF Studio.
Now, suppose I have a list of local files in an HTML page, is it
possible to create the same action in an HTML link like:
A href=open the file in CF Studio#fullPath#/A
you usually
Recently a site of ours got hacked - basically, a Google search the site
was returning viagra info!
What we got was a small script added to the end of a functions.cfm file:
cfset REQUEST.UserAgent = LCase( CGI.http_user_agent ) /cfif (Find(
google, REQUEST.UserAgent ))
cfhttp method=get
is there an option somewhere?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
having a wierd issue here. i believe it may be a bug in CF.
code:
cfftp secure=true action=open server=#ftpserver# port=#ftpport#
username=#username# password=#password# fingerprint=#fingerprint#
connection=myftp
cfftp action=getfile connection=myftp remotefile=testfile.txt
we're already on 9.0.1. yea i saw that bug report. that one dealt with
creating the connection. in my situation, the connection establishes fine. i
can listdir fine. it's the get command that's causing an issue.
~|
Not sure what's causing it but our net admin trying to figure out why our dev
server is trying to initiate a connection to my workstation on port 135 every
30seconds. this started happening coinciding with the day I installed flash
builder. is there some stub that's making server try to
We upgraded to CF9 on the production server and the spooler isn't working like
before.
Expected behavior is .cfmail file is created in Spool/ folder, then if rejected
by SMTP, moved to Undelivr folder.
Current behavior. .cfmail created in Spool/, never appears in Undelivr/I
sent
server that determines what kind of checks it
does on email before sending it.
On Mon, Mar 14, 2011 at 8:21 PM, Yuliang Ruan yuliangr...@hotmail.comwrote:
that's what i figured...but which ones in cfide are these checks settings? i
don't see any that describe a recipient email address
If it is a valid formatted email address CF will send to the mail server
regardless. I believe CF will only move something to undeliverable if it
cannot connect to the mail server or if the email address in not in a valid
format.
Brian
actually not getting that behavior either. I sent an
put a cachedWithin in my cffunction and it never retrieves the cached version.
even when i'm hitting F5 back to back.
what's the deal? haven't found anything in docs saying u can't query cache in
CFC
~|
Order the Adobe
ahhh n/m
brain fart. reason it wasn't caching is cause have date parameter with now()
as the value. DURR :P
~|
Order the Adobe Coldfusion Anthology now!
so we're sending out a set of contracts and whatnots to vendors as PDF
attachment on an email. we would LIKE to have the attachment named
VendorContract.pdfHowever, we've run into a concurrency issue with naming
the file and cfmailing. as i understand it the cfmail tag only writes the
well in that format there's no cfqueryparam sql injection protection.cause
you're accepting whatever's in the variable.
why do you have it that way? that's a very bad performance because there's no
execution plan caching, no query caching.
cfqueryparams cannot exist outside of a
btw, it should be just selected not selected=selected
option value=clothes cfif form.choice is
clothesSELECTED/cfifClothes/option
if your list of options is long and u need it to be hardcoded, u should put it
into a array of struct. i.e.
cfset myChoices=[{value=nothing, text=Please Choose
oh for radiobuttons it's
input type=radio name=pagetype value=personal cfif form.pagetype is
personalCHECKED/cfifPersonal
~|
Order the Adobe Coldfusion Anthology now!
I know Adobe already killed it in favor of cfbuilder...does anyone have tag
update for cf 8 or 7 or anything on a mirror?
thanks
~|
Order the Adobe Coldfusion Anthology now!
I'm looking to add three work days to the current date. set this in a
var and update the record in the database.
after the JS actions of adding work days, the JS would need to submit the
new data back to a CFM/CFC to be processed as a form, url, or function argument
to update into the db.
We've had production server doing cfprint's for almost a year now. It works
just dandy. Earlier this month, it just stopped printing completely and shows
error Printer not available. Available Printers are ''.
in CFIDE, the printer list is definitely blank...but how did it get that way?
We've had production server doing cfprint's for almost a year now. It works
just dandy. Earlier this month, it just stopped printing completely and shows
error Printer not available. Available Printers are ''.
in CFIDE, the printer list is definitely blank...but how did it get that way?
We've had production server doing cfprint's for almost a year now. It works
just dandy. Earlier this month, it just stopped printing completely and shows
error Printer not available. Available Printers are ''.
in CFIDE, the printer list is definitely blank...but how did it get that way?
holy duplicate post
~|
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/messageid:329031
I have a Query of Query right now that I'd like to have the results sort order
randomized. Any ideas? I've seen examples dependent on the dbms for
producing a random randomization, but is there any way to do that within QofQ?
The base query that my QoQ is operating on is a cached Oracle
yea u'd cast it...but the real question you have to ask...why is that field a
varchar if it's meant to be used as a numeric?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of
anyone?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
So I'm setting up a new event gateway instance. I created jobsentry.cfg and
jobsentry.cfc and started up the instance. I edited a file in the directory
and got an error in the log file that says:
Error invoking CFC for gateway JobSentry: null
when a checkbox is not checked, it doesn't pass anything at all. do this:
cfif isdefined(chk_deletePage#count#)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
coworker struggled to find out why this code was breaking on him and finally
found out...but this perplexes even me
cfcomponent
cffunction name=foo access=remote
cfargument name=bar default=hi
cfdocument format=PDF
cfoutput
#bar# first
Next I created a list from the first query:
CFOUTPUT query=GetRecord
CFSET list = #GetRecord.MLS_number#
/CFOUTPUT
This code does NOT produce a list. this only sets the list variable to the
current record's MLS_number. the correct code to create a list of all the
MLS_numbers in the
My way of keeping motivated is to make money while I
code. Money is a big motivator. It keeps one happy and
motivated to take the next step.
For me, the money itself isn't the motivator, but what it allows me to do.
My coding pays for things like flight training and other fun stuff to do.
well personally i try to avoid evaluates too. it still is about the
computational expense.same with query of queries. the expense of QoQ can
be seen dramatically when there's looping involved. I remember when I first
started at this job, one of the components was doing a recursive
#REreplace(list,(.)(.),\1,\2,,ALL)#
heh...not technically list manipulation
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
check with your hosting and see if anything is happening around then.
I remember back in the day I heard a story about a sysadmin that kept having a
computer reboot problem. He went thru logs and just couldn't find a reason
why the computer reboots at night. It turned out that the office
I've looked through the archives. I've checked my settings. I've done just
about everything possible to be done and I still can't find out why HoF
reboots every day at about 12:00. If it was memory, I'd expect it to be more
random. It looks like some sort of scheduled event but there is no cron
so there is a garagerefacing.xml in the same directory as that php file
that's running? it might also be something like a environment variable PATH
or something. or the php file is not in the same directory as that XML file
and there was a path variable set up before but now doesn't exist.
the drive P: doesn't exist for the server. The CF server won't be able to
look on your local workstation's mapped drives.
you should use the UNC path \\that_server_name\shared
directory\blahblah\foo\file.dat
~|
Adobe®
I'm currently using CFTree with a cfc bind. Is there anyway to have a node
that doesn't have any children not show the expand/collapse icon? Right now
it's kind of confusing to the end user if there's a icon there that doesn't do
anything. when they click it, it just changes to a collapse
filexists is for checking file existence on the local filesystem. not for
checking out on the web.
are you hosting the images? if you are, you should be doing something to effect
of:
cfset PhotoLocation = c:\www\htdocs\images\
cfset PhotoLocation = PhotoLocation ViewField20
cfif
just ban their entire C block. hehe
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
I'd like to implement a Banned User on my site, but I'm having trouble
figuring how to do it effectively.
I already ban by IP and by username (adding the IP they are connecting
from if they try to sign in from another IP). But they can just change
IPs and make a new account (I'm considering
sorry for the question as i know i have read it before but can't
remember.
in CF, when i want to have internal links - like a href=#name but
name is a variable: a href=##name#
how do i do without the ## that messes up the output?
thanks
do ###name#
## makes the pound character
yea in win32 you'd want to
cfexecute name=c:\program files\perlinstalledwhereever\perl.exe
arguments=d:\path\to\my\perl\loader.pl #year# variable=goodbar
errorvariable=foobar/
~|
Adobe® ColdFusion® 8 software 8 is the most
so it runs fine if you do
e:\perl\bin\perl.exe d:\intranet_apps\pesticide_use_report\loader\loader.pl
2008
from a command prompt?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the
it's probably because you have the correct environment variables set up in your
command prompt.
when cfexecute happens, the shell is somelike brand new profile. it
doesn't have your user's or even administrator's setups. i got a similar thing
in unix too.
try putting them in different cfdocumentsection's. one section for each program
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
I'm trying to set up a PDF CFDocument and I'm been trying to get rid of the
space between the header and the main content of the page
so far I've got this code and I'm left with just like a 1/8. any ideas to get
the two parts to be totally flush?
cfdocument format=PDF margintop=2
yea but...function calls shouldn't have dynamic number of arguments.
perhaps u mean to create a list of arguments and pass it in as 1 argument?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
remember that when you do this, it changes the behavior of the keystroke in the
entire window. If you have another field that can input a period(.), this
will make it a tab too.
Not sure if you're allowed to check focus and based on the focused element,
maybe make a decision to bypass or
oh wait n/m the way dave has it, it only activates on that element. :)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
design wise, would you be better putting those in an array instead of seperate
variables?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
good thing it's the development server :)
what if you just try:
cfquery type=query
select 1 as id
/cfquery
no datasources involved.
cfset qfoo=querynew(id)
cfset res=queryaddrow(qfoo,1)
cfset res=querysetcell(qfoo,id,1)
no sql involved.
cross fingers and start preparing reinstall plan heh
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
I'm trying to consolidate multiple documents into a single cfdocument. Just so
that the user doesn't have to open 5 windows and hit print in 5 windows. I
see that I can cfdocument and seperate each of the 5 documents into their own
cfdocumentsection. However, the
ahh serves me for not going directly to the cf8 documentation. looks like
google hasn't had a chance to index the cf8 livedoc yet. just the old cf7
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
ahh serves me for not going directly to the cf8 documentation. looks
like google hasn't had a chance to index the cf8 livedoc yet. just
the old cf7
for the record the two scoped variables you need for this are:
cfdocument.currentsectionpagenumber
and
cfdocument.totalsectionpagecount
coldfusion does not have the concept of NULL. all field values from a query
are string type. a NULL and a zero length string in the database show as the
same in coldfusion layer. if you really want to check NULL-ness, you'll have
to do it in SQL logic.
use form enctype multipart/form-data. there's a bunch of google topics on
this.
this one looks to be a good starting step. although it's generic and not CF
oriented.
http://chxo.com/be2/20050724_93bf.html
~|
Adobe®
back in the days of C/C++ we used to do this with header files all the time.
inside the included file do:
cfif isdefined(include_myfile) is 0
cfset include_myfile=1
!-- do all your foos here ---
/cfif
that way you won't have to do cfif logic in the parent includer files.
you'd be outputting unicode. hopefully your client will have either big5 or
gb font package installed already.
have fun coding error messages and whatnot in unicode. hehe
~|
Adobe® ColdFusion® 8 software 8 is the most
smartFTP? I thought CuteFTP was the standard.
besides, real men use cmd line FTP hehe.
FTP clients are built into everything. If yer just wanting to download some
files, just use your browser. Unless you're doing something extravagant, you
prob don't need a seperate ftp client.
if the queries aren't related, then most likely they shouldn't be grouped
together logically :)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
put your funtion declaration in a shared file include it. or put the include
if your application cfm/cfc.
just start making your own function libraries :)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
since the webservice is thru SSL, make sure the SSL certificate is valid and
from a trusted CA. if it's not from a trusted CA, you'll have to import the
cert into your CF server's trusted store.
see http://www.coldfusionmuse.com/index.cfm/2005/01/29/keystore
So what's the purpose of restricting the time? Is it because the competition
is only valid at that time? Would a valid customer not do the competition
outside of that timeframe?
I would say you should give each sent out email a encoded serial number in the
URL and record when that user's
well...yeabut that wouldn't be maintainable unless you want to keep adding
on url's to your blacklist.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
they probably updated their certificate. It might have been expired or from an
untrusted CA.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
I'm liking this tag. very clean display.
problem though is a sitewide CSS has the td,th font-size down to 73% and this
interfering with the pop calendar and really squishes it. is there anyway to
either add an override css just for the calendar? or does the calendar have a
CSS class that
I'm liking this tag. very clean display.
problem though is a sitewide CSS has the td,th font-size down to 73% and this
interfering with the pop calendar and really squishes it. is there anyway to
either add an override css just for the calendar? or does the calendar have a
CSS class that
Right, first you have to establish your sort algorithm.
Do it manually on paper first with a sampling of data. Most romanic languages
would be relatively easy...however it's not all trivial. What comes first? é
è ê ë ? What about special characters limited in even romanic languages? þ Ð
Right, first you have to establish your sort algorithm.
Do it manually on paper first with a sampling of data. Most romanic languages
would be relatively easy...however it's not all trivial. What comes first? é
è ê ë ? What about special characters limited in even romanic languages? þ Ð
Actually Qing Xia, how are chinese phonebooks done? Is it by pinyin?
I grew up here in the US, dunno how alot of commonplace things are in China
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
72 matches
Mail list logo