The table which I am accessing will be truncated and fresh data is loaded once
in a day.No changes are made apart from that.Just to be sure that the previous
cursor(if any) is not getting cached I restarted the db so that the cursor is
flushed.But after accessing the cfm page 2-3 times, again
On 7/9/07, Steve Brownlee [EMAIL PROTECTED] wrote:
- Overloading
- Generics
- Method overriding
- Static methods
- And most importantly, it's not typed (i.e. you can't cast a Sphere CFC as
a Ball CFC, among a myriad of other possibilities)
None of these has the slightest thing to do with
On 7/9/07, Dale Fraser [EMAIL PROTECTED] wrote:
CF is not OO. CF should NOT be OO. And lastly, I pray to God that CF never
becomes OO.
I didn't agree, I actually think ColdFusion is OO, and thought that view
especially from Ray was odd, then I thought, well perhaps I have it wrong
I don't
Smackdown... Boo ya.
Just don't get Sean started on Interfaces :-p
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
I will,
Sean why are you so against this? I welcome this with great open arms...
On 7/10/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:
Smackdown... Boo ya.
Just don't get Sean started on Interfaces :-p
This e-mail is from Reed Exhibitions (Gateway House, 28 The
On Monday 09 Jul 2007, K Simanonok wrote:
I am trying to get CF code to run inside a CFMAIL tag where the code
is called by a CFINCLUDE. There are plenty of historical examples
here showing how people have done it in the past, but when I reproduce
their code all that gets emailed is the
On Tuesday 10 Jul 2007, Andrew Scott wrote:
Sean why are you so against this? I welcome this with great open arms...
I think he felt in the past that now everyone will start splattering
CFINTERFACE across everything, without good reason.
--
Tom Chiverton
Helping to preemptively compete
On Tuesday 10 Jul 2007, Dale Fraser wrote:
(now the poll has closed, I want to comment on your questions)
1. Do you consider ColdFusion to be Object Oriented?
It has createObject(), which can make things with properties and methods -
therefore it has objects, therefore it's OO.
I'd love to
On 7/10/07, Andrew Scott [EMAIL PROTECTED] wrote:
Sean why are you so against this? I welcome this with great open arms...
Java needed interfaces because it is a statically typed language and
had chosen not to support multiple inheritance. It had no choice.
In ColdFusion, all type checking is
Nope he meant the other way around..
b.cfm:
cfoutput#now()#/cfoutput
a.cfm:
cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=bar
cfinclude template=b.cfm
/cfmail
On 7/10/07, Tom Chiverton [EMAIL PROTECTED] wrote:
On Monday 09 Jul 2007, K Simanonok wrote:
I am trying to get CF
On 7/10/07, Tom Chiverton [EMAIL PROTECTED] wrote:
It has createObject(), which can make things with properties and methods -
therefore it has objects, therefore it's OO.
That just makes it object-based. However, it has inheritance,
polymorphism (because it has dynamic dispatch via inheritance)
On Tuesday 10 Jul 2007, Sean Corfield wrote:
In ColdFusion, all type checking is done at run time. So if you use
interfaces, you will get a *runtime* check, just like all the other
checks. And if you screw up, you'll get a runtime error. If you use
interfaces, the error just has different text
On Tuesday 10 Jul 2007, Sean Corfield wrote:
That just makes it object-based. However, it has inheritance,
polymorphism (because it has dynamic dispatch via inheritance) and
encapsulation (public / private data methods). That is what makes it
OO.
Your memory of CompSci 101 is better than
Does anyone know why I might get this sometimes? Mysql:
Query Error: Duplicate entry '75A8BA37-2B3E-7F0C-15E97C353E23FA73_100' for key
1 Datasource: Native Error Code: 1062 SQL State: 23000 Executing SQL:
INSERT INTO ...
Normally works fine so I don't understand it and google does
stylo stylo wrote:
Query Error: Duplicate entry '75A8BA37-2B3E-7F0C-15E97C353E23FA73_100' for
key 1 Datasource: Native Error Code: 1062 SQL State: 23000 Executing
SQL: INSERT INTO ...
There is already a check to see if the basket exists before adding the item,
so shouldn't be
Anyone have any ideas... essentially we are getting ( just ahead of the pound
character ) an A with a hat. Ã ( capital a, circumflex accent,Acirc;,#194;)
Any ideas how to prevent this one from happening?
It seems to be doing this on form submissions.
On Tuesday 10 Jul 2007, Andrew Scott wrote:
Nope he meant the other way around..
Difficult to tell without his code, really.
Either should work though, right ?
--
Tom Chiverton
Helping to revolutionarily conquer second-generation architectures
on: http://thefalken.livejournal.com
I have a project:
I need to create an in and out board (i.e a webpage/application which
sits on a tablet PC by an entrance to a building);
The app needs to show a list of names, populated from a MySQL
database, and on click, update the time signed in to the database,
and change the color of
Unicode!!!
Make sure
a) your html header has utf-8 in it - the form may also need to be
told a specific char set; - Dump the form contents on submission: are
the chars there?
b) if in inserting into a database, that the database is set up with
Unicode, look at the SQL - is it inserting the
Quick questions for those in the know. We're beginning to use Ant for
our deployment process. I'm trying to figure out how to get a log of the
file system changes that Ant performs during a sync operation (or a log
of any operation for that matter). Any suggestions? Pointers in the
right
I'm trying to use the following code:
CFHTTP
url=http://www.shadowserver.org/wiki/pmwiki.php?n=Stats.VirusDailyStats;
method=Get
useragent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
cfdump var=#cfhttp#
/cfhttp
To get get the zero
Thanks Brian, I didn't realize there was a variables.instance structure
=)
Here is the lowdown I got from everyone's comments:
If I was working either with a team, using coldspring, or working on a
large project or public facing components, I would probably generate
individual getters / setters
Am not sure about an include inside the cfmail, never done it. But theory
says it should, but practical who knows.
I have always done
cfsavecontent variable=test
include template=include.cfm/
/cfsavecontent
But as he said Coldfusion V5.0, that is way out of the question.
On 7/10/07, Tom
Looks like the code is returning connection failure in the content as
the server says 200 OK
They must be detecting session vars.
HTTP/1.1 200 OK Connection: close Expires: Tue, 01 Jan 2002 00:00:00 GMT
Date: Tue, 10 Jul 2007 11:23:45 GMT Server: Apache X-Powered-By: PHP/5.0.4
Pragma:
Every technology will require a poll to the server, to pull the data in...
On 7/10/07, Tom King [EMAIL PROTECTED] wrote:
I have a project:
I need to create an in and out board (i.e a webpage/application which
sits on a tablet PC by an entrance to a building);
The app needs to show a list
The easy way
1. Have a hidden I frame on the page that refreshes every X seconds, and
when it finds something new refreshes the main page
2. Use Ajax call on a Javascript Timer to check the server every X seconds
3. Use Flex push technology
PS: 2 3 will be much easier in CF8. These are the easy
Hey all,
For quite a while now, the group I work in has been doing code reviews
of our ColdFusion code through the use of a code review tool to pick up
the major stuff, then peer review to get the logic/other problems.
Now we have to start doing it for SQL code. Does anyone know of any
code
Smackdown... Boo ya.
Just don't get Sean started on Interfaces :-p
Or tell him you want to duplicate() a component. :)
~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7
Flex 2
Free Trial
Hi
Is it possible to use the Datasource defined in Jrun admin console(JMC) in
Coldfusioon template. if yes how to do that ?
when i use that i am getting error Data source not found
~|
ColdFusion MX7 by Adobe®
Dyncamically
On Tuesday 10 Jul 2007, Andrew Scott wrote:
Every technology will require a poll to the server, to pull the data in...
Not LCDS to a Flex application...
--
Tom Chiverton
Helping to vitalistically envisioneer eigth-generation methodologies
on: http://thefalken.livejournal.com
I'd agree...ColdFusion is strong as it is now. Of course it can be improved,
but if Adobe adds too many of these advanced language constructs in, then
ColdFusion will lose what made it popular in the first place. Namely the
ability to rapidly develop internet applications.
-Original
Dale...
I recommend looking up Hal Helms presentation on OO at this year's CFUnited.
He made some compelling reasons why CF should never become a pure OO
language. The CFUnited website will soon have MP3 files of each of the
presentations.
Andy matthews
-Original Message-
From: Dale
Hey Russ,
I managed to make a small tweak to the styling of the example you gave and
was then able to select the text. Changed:
#SidebarNavigation{
position: absolute;
right: 8px; /* must be equal to the body's margin-right */
width: 207px;
padding: 8px;
border-right: 3px solid black;}
To this:
ant -v gives a lot of information while ant is running (eg every
action performed by the SVN task instead of [svn] checkout
started/stopped). If you're running automatically you can pipe that to
a file or use one of the listeners to write more sophisticated logs
On 7/10/07, Cutter (CFRelated)
You could try using COM
cfset fso = createobject(COM, Scripting.FileSystemObject) /
cfset theFile = fso.GetFile(D:\path\to\my.zip) /
cfoutput#theFile.Size#/cfoutput
Dump #fso# and #theFile# for more goodies.
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
Question - how are you checking the size of the verity collection? I
assume you are checking in the admin, looking at Document Count,
right?
On 7/9/07, John Stottlemire [EMAIL PROTECTED] wrote:
the key field in the cfindex = the primary key of the database table (I don't
think its duplicate
Hi Steve,
I think my JRun has been expired because of selecting 30 day trial on
installation.
I am working on now on our CF7 intranet server and I can wait until Monday. :)
Sincerely,
OÄuz Demirkapı
-Original Message-
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED]
Sent:
There is already a check to see if the basket exists before adding
the item, so shouldn't be a duplicate basket id.
Is there a lock from the time the basket is checket and the query is done?
--
___
REUSE CODE! Use custom tags;
See
Thank you for pointing me in the right direction, Dave.
-Scott
How well does CF interact with WebDAV? I've been given the
task to upload files through WebDAV and have been having a
hard time finding information on it. Is it possible?
What exactly do you mean by interact?
WebDAV is a web
This is worth a try too:
http://www.cflib.org/udf.cfm?ID=787
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
Thanks John Paul. I'm running my build directly from within Eclipse, so
I'm just trying to figure it all out. Currently the console gives me a
running tally, but it ends up truncated so I'm really trying to figure
out how to get a flat-file log of all actions taken.
I am currently doing a SVN
Answer - I just checked Admin/Verity Collections and do not see a way to see
the document count. I've been getting the recordssearched by doing a
cfsearch without the criteria and then a cfdump.
Question - how are you checking the size of the verity collection? I
assume you are checking
Hmm, I wonder if that was added to CF8 then. Try running CFCOLLECTION
action=list, and tell me what doccount you see there.
On 7/10/07, John Stottlemire [EMAIL PROTECTED] wrote:
Answer - I just checked Admin/Verity Collections and do not see a way to see
the document count. I've been getting
EXTERNAL LANGUAGE MAPPED NAME ONLINE PATH REGISTERED
1 NO english NO collection1 YES C:\CFusionMX\verity\collections\ CF
2 NO english NO collection2 YES C:\CFusionMX\verity\collections\ CF
Hmm, I wonder if that was added to CF8 then. Try running CFCOLLECTION
action=list, and tell me what
Maybe this helps point at the culprit?
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72catid=640threadid=1259685enterthread=y
I downloaded license.jar, stopped the cfusion service, replaced the .jar
file, then started cfusion but I still received the same error
Oh - you are on cf6 then? As far as I know it should have shown you
the doc count in cf7 or higher. At this point I'm at a loss then. Most
of my Verity experience is with 7 and higher, where all the cool stuff
was added. ;)
On 7/10/07, John Stottlemire [EMAIL PROTECTED] wrote:
EXTERNAL
I appologize, I thought I put CF 6.1 with updater 1 in my original post.
Oh - you are on cf6 then? As far as I know it should have shown you
the doc count in cf7 or higher. At this point I'm at a loss then. Most
of my Verity experience is with 7 and higher, where all the cool stuff
was added. ;)
Aaron,
I had to do a complete uninstall, then reinstall. I'm good (for now). A
recent message from Adobe, in response to a forum follow-up, states that
the final Flex Live Cycle Data Services component will ship with the
release of CF8 (kinda figured that though).
Steve Cutter Blades
Adobe
I am trying to make a page with spry that never has to reload the page. Just
reloads the data in datasets etc. But on one tab I need to do an upload. How
can I upload a file without refreshing the page and is cross platform
compatible? and free :)
Oh you probably did. I'm a bit slow. Really wish I could help you out.
On 7/10/07, John Stottlemire [EMAIL PROTECTED] wrote:
I appologize, I thought I put CF 6.1 with updater 1 in my original post.
Oh - you are on cf6 then? As far as I know it should have shown you
the doc count in cf7 or
From memory I believe the doccount was/is available in 6.x
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and
I did a complete uninstall but I may have messed something up because now I
cannot reinstall. Installer freezes right way, prior to any windows or
anything.
-Aaron
On 7/10/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
Aaron,
I had to do a complete uninstall, then reinstall. I'm good (for
That's what I've always done - much cleaner. But - it does in fact work on V5,
so that's what I'd say is the solution. I've had funny things happen with
tag processing inside of CFMAIL.
-reed
Am not sure about an include inside the cfmail, never done it. But theory
says it should, but
I have a form that people fill out.
When they hit submit I want to make a PDF of data they submitted then pop open
an email in outlook with the PDF attached to it.
Then all the user has to do is fill in the email to send the PDF to and hit
submit.
Any suggestions on how to do this?
This wouldn't involve outlook, but I don't think you need it.
Use cfdocument to create the pdf and cfmail to send the E-mail attaching
the pdf to it.
Let the user type into a text area whatever they wish to be included in
the body of the E-mail.
~Brad
-Original Message-
From: Chad Gray
I've got this simple table ...
table width=300 border=0
CFOUTPUT
tr
tda href=rb_new_verified.cfm?cat=#cookie.cbadmin#Vote 6-12
Months/a/td
/tr
tr
tda href=rb_new_verified.cfm?cat=#cookie.cbadmin#Vote 13-24
Months/a/td
/tr
/CFOUTPUT
/table
I've saved and uploaded several times,
I've saved and uploaded several times, but the links that are being
produced on the page is ...
http://www.domain.com/rb_new_verified.cfm?cat=cfoutput1/cfoutput
Shouldn't it be... ?
http://www.domain.com/rb_new_verified.cfm?cat=1
What the extension of the file you are editing viewing/editing?
..html, or .cfm?
~Brad
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 3:03 PM
To: CF-Talk
Subject: cfoutput acting weird ... need another set of eyes
I've got this simple
I saw several bug trac entries whereby services were not removed (and in
some cases still running) even after uninstall. I had stopped all
cf/jrun services (odbc, verity, instances, etc.) prior to doing my
uninstall. Verify that these instances, if still in place, are at least
stopped. I also
How would you use CFDocument and CFMail together?
I donât see a way to take the PDF that CFDocument makes and save it to the
file system, or pass it as a variable to CFMailParam.
You know I though that Acrobat Reader would allow you to email the PDF once
opened in your browser, but I donât
It's a cfm file. Strange huh. This is basic stuff but it's acting weird.
What the extension of the file you are editing viewing/editing?
.html, or .cfm?
~Brad
~|
Deploy Web Applications Quickly across the enterprise with
Can you directly look at the source code on the remote server and
confirm that it contains the code you expect it to?
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
cfdocument has a name attribute. This will save the binary data into a
variable you can then write to the file system.
On 7/10/07, Chad Gray [EMAIL PROTECTED] wrote:
How would you use CFDocument and CFMail together?
I don't see a way to take the PDF that CFDocument makes and save it to the
Could you share some commands. Also, where is CFDotNetIntergreation located?
-Aaron
On 7/10/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
I saw several bug trac entries whereby services were not removed (and in
some cases still running) even after uninstall. I had stopped all
cf/jrun
I've saved and uploaded several times, but the links that are being
produced on the page is ...
http://www.domain.com/rb_new_verified.cfm?cat=cfoutput1/cfoutput
Maybe the cfoutput1/cfoutput string is actually stored in the cookie
you're evaluating. It would be hard to set a cookie with that
Could you be doing something like:
cfset cookie.cbadmin = cfoutput#bob#/cfoutput
What happens if you dump the cookie scope?
--Ben Doom
[EMAIL PROTECTED] wrote:
I've got this simple table ...
table width=300 border=0
CFOUTPUT
tr
tda href=rb_new_verified.cfm?cat=#cookie.cbadmin#Vote
You can tell the cfdocument tag to save the PDF it generates to a temporary
location with a unique name. Then use the mimeattach attribute of the cfmail
tag to attach the file to the E-mail.
The user won't have to mess with Outlook, or even have Acrobat installed on
their machine, as this
dump the cookie and take a look.. perhaps it got saved wrong..
On 7/10/07, Ian Skinner [EMAIL PROTECTED] wrote:
Can you directly look at the source code on the remote server and
confirm that it contains the code you expect it to?
This is on Windows, so I just went to the MMC Services snap in to view
the services, stop those that were running, etc. Default install of the
CFDotNetIntegration (might be wrong name, but it's close) was in the
root of the C:\ drive.
Steve Cutter Blades
Adobe Certified Professional
Advanced
Sounds to me like cookie.cbadmin contains cfoutput1/cfoutput
Russ
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 4:03 PM
To: CF-Talk
Subject: cfoutput acting weird ... need another set of eyes
I've got this simple table ...
Oops. forgot you were on Windows. That explains CFDotNetIntegration. I'm on
Mac OSX.
Thanks,
Aaron
On 7/10/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
This is on Windows, so I just went to the MMC Services snap in to view
the services, stop those that were running, etc. Default install of
Hello folks,
I am in need of some enlightenment here with an issue that has me
stumped. I have a from validation script that I use in several forms in
a small personnel editor I built. In one particular page this script is
not firing and I cannot for the life of me see why it's not. The one
I know this is gunna be something simple...
I have a cfc which contains the following query (using access database)...
cfquery name=qgetArticles datasource=#variables.dsn#
username=#variables.dbusername# password=#variables.dbpassword#
SELECT cfif arguments.recentTOP 1/cfif
article.*
FROM
**BUG**
Concise problem statement:
Steps to reproduce bug:
1. make a cfform format=xml
2. use the Range validation example from cfinput MX7 livedoc
3. submit form
Results: range is not checked at all.
Expected results: range is check just like when format=html
Just reported to
ImageCFC 2.18 is now available. I tested it with Coldfusion MX 7 on
Linux, Coldfusion 8 beta on Windows and Linux, and Bluedragon 7 on
Linux.
It works much better than 2.17 did.
A future version will probably cause image.cfc to act as an
intermediary to cfimage in Coldfusion 8 to take advantage
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 July 2007 7:16 PM
To: CF-Talk
Subject: Re: SURVEY RESULTS: Is ColdFusion OO?
On Tuesday 10 Jul 2007, Sean Corfield wrote:
In ColdFusion, all type checking is done at run time. So if you use
FYI,
validateat=onServer
works.
**BUG**
Concise problem statement:
Steps to reproduce bug:
1. make a cfform format=xml
2. use the Range validation example from cfinput MX7 livedoc
3. submit form
Results: range is not checked at all.
Expected results: range is check just like when
ok, it appears to be my order by clause. having simply ORDER BY article_id DESC
works? if anyone can expand on this for me it would be appreciated as i really
would like to order as i have in the query that does not work...
I know this is gunna be something simple...
I have a cfc which
Have a read of this:
http://articles.techrepublic.com.com/5100-22-5035113.html
Might explain things.
Adrian
-Original Message-
From: Mike Little
Sent: 11 July 2007 00:19
To: CF-Talk
Subject: Re: Selecting top row in access db
ok, it appears to be my order by clause. having simply
Great work Rick!
Rick Root wrote:
ImageCFC 2.18 is now available. I tested it with Coldfusion MX 7 on
Linux, Coldfusion 8 beta on Windows and Linux, and Bluedragon 7 on
Linux.
It works much better than 2.17 did.
A future version will probably cause image.cfc to act as an
intermediary
how about that - adding an additional column to the order by clause fixed it!
thanks heaps adrian.
Have a read of this:
http://articles.techrepublic.com.com/5100-22-5035113.html
Might explain things.
Adrian
-Original Message-
From: Mike Little
Sent: 11 July 2007 00:19
To: CF-Talk
came across this thread in my search for a solution. was this ever sorted as i
am having the exact problem with IE7??
mike
I'm finding that urls with both parameters and a named anchor, like this:
somesite/somedir/somefile.cfm?method=goaction=showHelp#help_sql
...work fine in Firefox, but
Why can't you have overloading in a dynamically typed language? Overloading
isn't just sending over an argument with a different type...it is also
sending over different numbers of arguments. If I remember correctly from
my C days, you can overload in C...so I would agree that these have nothing
You would almost have to set up a hierarchy in a dynamically typed
language. If you didn't and had an overloaded method, one expecting
string and one expecting numeric, and passed in 1.92, which method would
it call?
Nicholas M. Tunney
Blog: http://www.nictunney.com
Adobe Certified Advanced
On 7/10/07, Eric Roberts [EMAIL PROTECTED] wrote:
Why can't you have overloading in a dynamically typed language?
Because of the overhead of performing overload resolution - which
you'd have to do at runtime in a dynamic language.
Read this for more details:
85 matches
Mail list logo