FWIW, you wouldn't get this error on Railo (due to a philosophical
difference on how function declarations actually work).
On Tue, Aug 31, 2010 at 2:04 PM, Matthew Smith chedders...@gmail.com wrote:
Ok, here is what I tried:
I removed the cfcomponent tags in the org.corfield.framework file,
Hi,
Is it possible to create interactive buttons within a PDF form using coldfusion
8?
Specifically, I would like to add email, print, and save a copy buttons
to a pdf form I'm building using coldfusion.
Alternatively, is it possible to add fields to an existing pdf form using
coldfusion?
Russ,
I would unpack the Admin scripts that create DSN's (from inside the CF
Admin) and figure out what they are doing differently. There must be an
attribute you can use to set the port - or a path to a config file or
something.
-Mark
-Original Message-
From: Russ Michaels
The Capital Area ColdFusion User Group is now beginning to meet. Our first
meeting will be Tuesday, September 14th at 6pm. It will be a social
gathering, held at Timpanos Italian Grill, 12021 Rockville Pike Rockville MD
20852. View Map of
I don't know if you can add thos einto the PDF itself, but when it is viewed
in a browser these options are there by default.
Russ
On Wed, Sep 1, 2010 at 1:36 PM, Richard Cooper rcoo...@thesearchagent.co.uk
wrote:
Hi,
Is it possible to create interactive buttons within a PDF form using
all the cfadmin files are encrypted, so it is not possible to view them, and
the decrypt tools no longer seem to work on current versions of cf files.
Russ
On Wed, Sep 1, 2010 at 2:18 PM, Mark A. Kruger mkru...@cfwebtools.comwrote:
Russ,
I would unpack the Admin scripts that create DSN's
I doubt it.
Perl pre-dates email ;)
On Tue, Aug 31, 2010 at 5:53 PM, Duane Boudreau du...@sandybay.com wrote:
Hi All,
Since many of you out there are multi-talented developers, I was hoping I
could ask if anyone is on a similar list for Perl or wouldn't mind answering
a Perl question
Russ,
H I wonder how much those methods have changed since version 6. I
would suspect not much. You might figure out what you need from a previous
version.
-Mark
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
Hi Duane,
These chaps might be able to help - might be worth pinging them a message.
http://www.perl.org/
HTH,
Jose Diaz
On Wed, Sep 1, 2010 at 2:51 PM, Rick Root rick.r...@gmail.com wrote:
I doubt it.
Perl pre-dates email ;)
On Tue, Aug 31, 2010 at 5:53 PM, Duane Boudreau
Duane,
I came across this link on the community page http://www.pm.org/ Lists Perl
Monger groups worldwide. Could be a good place to start.
HTH,
Jose Diaz
On Wed, Sep 1, 2010 at 3:04 PM, Jose Diaz bleached...@gmail.com wrote:
Hi Duane,
These chaps might be able to help - might be worth
Is it possible to create interactive buttons within a PDF form using
coldfusion 8?
Specifically, I would like to add email, print, and save a copy buttons
to a pdf form I'm building using coldfusion.
No, not really. That is, CF doesn't provide an easy way to do this.
The idea is that you
I'm working on integrating PayPal's web standard into a site using their
Java EWPS toolkit. They have a utility class that takes the string of
parameters, the paths to the certificate files needed and the paswword for
the private one. In our test and local development environments, this whole
I prefer to CFParam my vars with a default value of a zero len string or a 0
for numeric values. Then I skip the isdefined and just test against the
value. Well recently someone I know said that it's better to test if it's
defined. Is there a pro or con to doing it my way vs. IsDefined ?
Thanks.
Using your way ensures that any variables that you are using already
exist.
I was always taught that I should define my variables before I use them
in code (my ancient programming college courses). So, I tend to follow
your method.
Also, from a security stand, you should already know what
I prefer to CFParam my vars with a default value of a zero len string or a 0
for numeric values. Then I skip the isdefined and just test against the
value. Well recently someone I know said that it's better to test if it's
defined. Is there a pro or con to doing it my way vs. IsDefined ?
No,
defo better to make sure they are defined.
Also using isDefined() is also bad as this search every single scope for
your variable and is thus quite slow and can potentially cause timeouts.
Much better to use StructKeyExists() and only test the scope your variable
is in.
--
Russ Michaels
FWIW, the following two tickcounts are nearly identical on my localhost so
the reason to use one over the other (cfparam versus isdefined/set) is
likely not due to performance...
cfset starttick = getTickCount()
cfloop index=i from=1 to=1
cfparam default=#i# name=variables.var#i#
/cfloop
Russ,
You are correct about that - but it's not typically a performance problem in
my view. More of a buggy/security type problem :)
-Mark
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
it depends how many vars you have in each scope.
If you have barely any then the search will be quick.
If you have a complex app with hundreds of vars then the result will of
course be different, especially if they are complex structs.
There is also the fact that isdefined() will find the
One reason to use IsDefined over StructKeyExists is when you don't know if
one of the child structures exists.
For example, in our control app, we assign permissions to our users like so:
SESSION.p -- struct, always exists
SESSION.p.nav -- struct, exists if the user has at least one perm in
dot notation means nothing to isdefined()
Um, really? The following returns NO for me:
cfset variables.myvar = 1
cfoutput#IsDefined(url.myvar)#/cfoutput
On Wed, Sep 1, 2010 at 11:16 AM, Russ Michaels r...@michaels.me.uk wrote:
it depends how many vars you have in each scope.
If you
On Wed, Sep 1, 2010 at 8:54 AM, John M Bliss bliss.j...@gmail.com wrote:
cfloop index=i from=1 to=1
cfif not IsDefined(variables.anothervar i)
cfset SetVariable(variables.anothervar i, i)
/cfif
/cfloop
Try that with cfset variables[anothervar i] = i / - I suspect
setVariable() is
Nevermind. Misread your post.
On Wed, Sep 1, 2010 at 11:24 AM, John M Bliss bliss.j...@gmail.com wrote:
dot notation means nothing to isdefined()
Um, really? The following returns NO for me:
cfset variables.myvar = 1
cfoutput#IsDefined(url.myvar)#/cfoutput
On Wed, Sep 1, 2010 at
Michael Grant mgr...@modus.bz wrote:
I prefer to CFParam my vars with a default value of a zero len string or a 0
for numeric values. Then I skip the isdefined and just test against the
value. Well recently someone I know said that it's better to test if it's
defined. Is there a pro
Ok, i have another one. (In CF7)
Here's an example of code I'm running into:
cfset errors[#varName#][string] = errors[#varName#][string] bit
to add here./
I would normally write this as:
cfset errors[varName][string] = errors[varName][string] bit to add
here./
Other than the fact it's
Ok, i have another one. (In CF7)
Here's an example of code I'm running into:
cfset errors[#varName#][string] = errors[#varName#][string] bit
to add here./
I would normally write this as:
cfset errors[varName][string] = errors[varName][string] bit to add
here./
Other than the fact
Hi, I recently upgraded an old CF site from version 5 to version 9.
Since then, my Instant Payment Notification from Paypal is broken.
It CFHTTP the Paypal server, but the response is now INVALID instead of
VERIFIED as it used to be.
There must be something changed in the CFHTTP which makes
It makes me want to barf.
However I don't really have the time for it.
On Wed, Sep 1, 2010 at 12:31 PM, Dave Watts dwa...@figleaf.com wrote:
Ok, i have another one. (In CF7)
Here's an example of code I'm running into:
cfset errors[#varName#][string] = errors[#varName#][string]
bit
Things have changed a lot since CF5 and there is likley to be a fair few
things that no longer work the same.
If you cfdump the cfhttp results in CF5 and CF9 and compare them then you
will see the difference.
If you are using a 3rd party tag then there are more up to date ones you
could use
of course as you are checking for url.myvar which doesn't exist as you
created variables.myvar not url.myvar.
On Wed, Sep 1, 2010 at 5:24 PM, John M Bliss bliss.j...@gmail.com wrote:
dot notation means nothing to isdefined()
Um, really? The following returns NO for me:
cfset
I prefer to CFParam my vars with a default value of a zero len string or a 0
for numeric values. Then I skip the isdefined and just test against the
value. Well recently someone I know said that it's better to test if it's
defined. Is there a pro or con to doing it my way vs. IsDefined ?
There
According to Adobe, yes.
http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html
Although, I'm sure it's probably negligible. All they really say is
that the extra pound signs will negatively affect performance.
Thanks,
Eric Cobb
ECAR Technologies, LLC
Thanks Eric.
On Wed, Sep 1, 2010 at 12:45 PM, Eric Cobb cft...@ecartech.com wrote:
According to Adobe, yes.
http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html
Although, I'm sure it's probably negligible. All they really say is
that the extra pound signs will
It'll have a (very very minor) impact on the first load.
I'd be surprised (and dissappointed) if it wasn't optimised away after that.
However, don't forget Human performance impact - if it takes an extra 0.5
seconds to decipher whether it just says varName versus #varName#i (or
similar), then
Hmmm, I'm guessing the web interface to cf-talk is doing double escaping or
something bad.
~|
Order the Adobe Coldfusion Anthology now!
All:
Has anyone experienced any problem when upgrading the server to Windows
2008 with IIS 7 while keeping CF 8? My IT is planning the upgrade but I
am still running CF 8 and would like to know any issue so I can be
prepared.
Nathan Chen
I just upgraded my dev box to Win 7 including IIS 7 and gave up on getting
it to work with CF8 after about 4 hours of following Googled instructions.
(Reverted to uninstalling IIS and using the dev webserver that comes with
CF.) Googling suggests that it *can* be done but be aware that it's not
I'm not so sure... I understand that subject completely! ;o)
-Original Message-
From: Peter Boughton [mailto:bought...@gmail.com]
Sent: Wednesday, September 01, 2010 12:44 PM
To: cf-talk
Subject: Re: Using vs not using
Hmmm, I'm guessing the web interface to cf-talk
If you cfdump the cfhttp results in CF5 and CF9 and compare them then you
will see the difference.
Not easy to to. The template is called by the Paypal server for every
transaction.
The template should return all form fields IN SAME ORDER in another CFHTTP
request to Paypal.
If everything
I have escaped your escape. Pray I don't escape it any further.
/darth
On Wed, Sep 1, 2010 at 1:08 PM, Rick Faircloth r...@whitestonemedia.comwrote:
I'm not so sure... I understand that subject completely! ;o)
-Original Message-
From: Peter Boughton [mailto:bought...@gmail.com]
As someone who is working on a new PayPal integration and has run into the
same issue as you, make sure all form fields are lower case. I seem to
remember CF defaulting to upper case in the transition to MX,
Phil
On Wed, Sep 1, 2010 at 1:15 PM, wrote:
If you cfdump the cfhttp results in
cf9.0.1 includes proper support for IIS7, so I would upgrade windows first
and then install cf 9.0.1
Anything prior to cf 9.0.1 requires the IIS6 management compatibility mode
and management console to be installed, otherwise it will not work.
Russ
On Wed, Sep 1, 2010 at 5:58 PM, John M Bliss
Thank you for the ideas. We are going to change the mime/type and also add
some I/O logging to see if we can find a correlation there. Should we find the
issue I will certainly post back.
Thanks for the time!
Jason
ON the other hand... I would expect a mime/type problem to result in an
The only general advantage I see is that you are reserving memory no matter
what, even though it's not much, where as with the isDefined, your just
checking, rather than reserving that memory.
I prefer to CFParam my vars with a default value of a zero len string or a 0
for numeric values.
I'm pretty sure its it some sort of encoding problem.
I've found this on the Paypal site:
PayPal's IPN server expects that your script will POST back all variables that
were posted to it and more importantly, that they are encoded the same way as
they were sent to your script. If your script
Personally I like to cfparam things that I know are supposed to
exist, and I will go both ways on page variables that may or may not
exist.
I prefer to param it and then test for a valid value than to test for
isDefined()
Ie...
cfparam name=someid default=
cfif someid eq (or cfif len(someid)
There are two dates the come over encoded but aren't when you look at your
string back that caused my issues initially and only when i outputted each
form value and looked at the resulting string did I see the issue. I forget
which ones they are and I'm not able to look at our listener right
On Wed, Sep 1, 2010 at 5:56 PM, Rick Root rick.r...@gmail.com wrote:
Personally I like to cfparam things that I know are supposed to
exist, and I will go both ways on page variables that may or may not
exist.
I prefer to param it and then test for a valid value than to test for
There are two dates the come over encoded but aren't when you look at your
string back that caused my issues initially
Yeah, I've seen that. Fields ending with _date are not listed in
form.fieldnames.
Curiously enough, this bug was already in CF 5, but Paypal would accept the
verification
A classic issue yesterday related to isDefined():
This worked perfectly:
cfscript
//pass boolean to determine if the given field is null in the
stored proc (1=submitted, 2=finalized)
if(arguments.status eq 1){
submitted = false;
50 matches
Mail list logo