I am sorry if this question seems so incredibly simple but I am lost as to
what to do.
I need to make an edit to a CF file.
It has listed in some cells that create an email that is an order sheet for
us from an AbleCommerce cart.
[code]
td class=Products
/td
Are you sure it is a CF File? This doesn't look like normal tag based cf
code .
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Reil
Sent: Thursday, November 30, 2006 2:00 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] First try at a real CF edit
I am
Discuss] First try at a real CF edit
Robert,
The notation you are showing is not CF. CF uses the # symbol around
variables to refer to values.
eg cfoutput#foo#/cfoutput
Now, the $orderItem.getSKU() is showing that orderItem is an object that has
methods. We call these type of methods
That looks awfully a lot like Java Server Pages to me
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dusty Hale
Sent: Thursday, November 30, 2006 2:36 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
Are you sure it is a CF File
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 2:28 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] First try at a real CF edit
Robert,
The notation you are showing is not CF. CF uses the # symbol around
variables to refer to values.
eg cfoutput#foo#/cfoutput
Now
Justin,
Considering we do not see % above the code or if the HTML is surrounded by
a tag based JSP declaration, it can look like JSP, Perl and PHP.
Robert,
You can tell if a file is ColdFusion by the extension of the file.
ColdFusion: .cfm, .cfc, .cfml
PHP: .php
Perl: .pl, .cgi
JSP: .jpg
These
I had a typo on my last email:
JSP: .jsp
Teddy
On 11/30/06, Teddy Payne [EMAIL PROTECTED] wrote:
Justin,
Considering we do not see % above the code or if the HTML is surrounded
by a tag based JSP declaration, it can look like JSP, Perl and PHP.
Robert,
You can tell if a file is ColdFusion
marks though) will do it.
Dusty
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mischa
Uppelschoten ext 10
Sent: Thursday, November 30, 2006 3:03 PM
To: Web Site
Subject: re: [ACFUG Discuss] First try at a real CF edit
Just a hunch, try to add (), like so
Discuss] First try at a real CF edit
Just a hunch, try to add (), like so:
$orderitem.getPartNumber()
/m
I am sorry if this question seems so incredibly simple but I am lost as to
what to do.
I need to make an edit to a CF file.
It has listed in some cells that create an email
Subject: Re: [ACFUG Discuss] First try at a real CF edit
Justin,
Considering we do not see % above the code or if the HTML is surrounded by
a tag based JSP declaration, it can look like JSP, Perl and PHP.
Robert,
You can tell if a file is ColdFusion by the extension of the file
]*
Sent by: [EMAIL PROTECTED]
11/30/2006 03:02 PM Please respond to
discussion@acfug.org
To
Web Site discussion@acfug.org cc
Subject
re: [ACFUG Discuss] First try at a real CF edit
Just a hunch, try to add (), like so:
$orderitem.getPartNumber()
/m
I am sorry if this question seems
is of course an image.
Correct if wrong please.
Dusty
--
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Teddy
Payne
*Sent:* Thursday, November 30, 2006 3:20 PM
*To:* discussion@acfug.org
*Subject:* Re: [ACFUG Discuss] First try at a real CF edit
, November 30, 2006 4:06 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] First try at a real CF edit
Umm, wow. That was from no where. Flying cow patties would be a bad day.
Teddy
On 11/30/06, [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED
Walk NW
Kennesaw, Ga. 30152
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com http://www.motorcyclecarbs.com
_
From: Teddy Payne [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 3:20 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] First try at a real
: Spam Low re: [ACFUG Discuss] First try at a real CF edit
I think it looks like cows flying
Ok, I've had a bad day. Cows Flying would be a nice change.
mcg
Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
11/30/2006 03:02 PM
Please respond to
discussion
: [ACFUG Discuss] First try at a real CF edit
Justin,
Considering we do not see % above the code or if the HTML is surrounded by a
tag based JSP declaration, it can look like JSP, Perl and PHP.
Robert,
You can tell if a file is ColdFusion by the extension of the file.
ColdFusion: .cfm, .cfc
: [ACFUG Discuss] First try at a real CF edit
I did send out a second email. Sorry about the typo.
Java Server Pages (JSP) and Joint Photographic Experts Group (JPEG) are very
different animals.
Teddy
On 11/30/06, Dusty Hale [EMAIL PROTECTED] wrote:
I think Teddy may have meant
] First try at a real CF edit
That looks awfully a lot like Java Server Pages to me
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dusty Hale
Sent: Thursday, November 30, 2006 2:36 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
Are you
] On Behalf Of Dusty Hale
Sent: Thursday, November 30, 2006 2:48 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
I agree to . looks like PHP to me . and to me PHP looks like Perl sometimes
so wonder if that might be it .
Dusty
_
From: [EMAIL
And forgive all the typos I just made in the past several emails :-)
Dusty
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dusty Hale
Sent: Thursday, November 30, 2006 4:28 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
Sorry
Can you send me more code off list for the thing?
Bryan
_
From: Dusty Hale [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 4:45 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
And forgive all the typos I just made in the past
Haygood [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 2:53 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
That looks awfully a lot like Java Server Pages to me
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dusty Hale
Sent
police.
Hope it works out well for you.
/Charlie
http://www.carehart.org/blog/
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Reil
Sent: Thursday, November 30, 2006 4:17 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
: [ACFUG Discuss] First try at a real CF edit
Just for my own curiosity, Did you try adding the () like Misha suggested?
So the call would be like $orderitem.getPartNumber() instead of
$orderitem.getPartNumber ...
Also another thought is that maybe the getPartNumber() method is not
supported
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
Well here is where the plot thickens.
After digging a bit deeper I noted in one of my earlier emails that the
column is not called PartNumber so $orderitem.getPartNumber would not work.
I just tried it incase and it did
Robert's last question is CF related. Although the answer is likely no.
Dusty
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mason
Sent: Thursday, November 30, 2006 5:35 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
Ok
.
Dusty Negril, Jamaica West End Baby
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Reil
Sent: Thursday, November 30, 2006 5:22 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real CF edit
Well here is where the plot thickens
Glad you figured it out :-)
#set ($tmpVend_number = ${token.getcnnSG().queryValue(SELECT Vend_number FROM
PRODUCTS WHERE Product_ID=${orderItem.getProductID()})})
rant
Now, CF code is not always pretty, but that line is ghastly IMHO. (Well, maybe
you could mix in some dynamic
28 matches
Mail list logo