[ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Robert Reil
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

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

 

Any and all help would be appreciated.

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

 http://www.motorcyclecarbs.com www.motorcyclecarbs.com


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists  
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/  
List hosted by FusionLink http://www.fusionlink.com  
-


RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
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 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

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

 

Any and all help would be appreciated.

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

 http://www.motorcyclecarbs.com www.motorcyclecarbs.com


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
-



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
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 PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
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, the $orderItem.getSKU() is showing that orderItem is an object that has
methods.  We call these type of methods setters and getters, which is
related to the idea of a Java bean or also known as a Value object because
it holds values about a particular item. 

 

The notation looks similar to PHP really.

 

Teddy

 

On 11/30/06, Robert Reil [EMAIL PROTECTED] wrote: 

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 

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d 

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td 

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

 

Any and all help would be appreciated. 

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com http://motorcyclecarbs.com/ , Inc.

4292 Country Garden Walk NW

Kennesaw , Ga. 30152

Office 770-974-8851

Fax 770-974-8852

 http://www.motorcyclecarbs.com/ www.motorcyclecarbs.com


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Justin Haygood
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? 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 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

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true
)/td

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should
be doing this some other way?

 

Any and all help would be appreciated.

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com http://www.motorcyclecarbs.com 


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 




-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Robert Reil
That's what I thought. 

Now how to get the info?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden 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 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, the $orderItem.getSKU() is showing that orderItem is an object that has
methods.  We call these type of methods setters and getters, which is
related to the idea of a Java bean or also known as a Value object because
it holds values about a particular item. 

 

The notation looks similar to PHP really.

 

Teddy

 

On 11/30/06, Robert Reil [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

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 

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d 

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td 

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

 

Any and all help would be appreciated. 

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com http://motorcyclecarbs.com/ , Inc.

4292 Country Garden Walk NW

Kennesaw , Ga. 30152

Office 770-974-8851

Fax 770-974-8852

 http://www.motorcyclecarbs.com/ www.motorcyclecarbs.com


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists  
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/  
List hosted by FusionLink http://www.fusionlink.com/  
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org http://www.acfug.org  
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists  
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/  
List hosted by FusionLink http://www.fusionlink.com  
- 



Re: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Teddy Payne

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 are the most commin file extensions for the related technologies.

Teddy


On 11/30/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
wrote:


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 that is an order sheet
for us from an AbleCommerce cart.

[code]
  td class=Products
/td
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td
  td class=Products
align=right  
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td
  td class=Products align=center
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td
For the first row to replace the
  td class=Products
/td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com, Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Teddy Payne

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 by the extension of the file.

ColdFusion: .cfm, .cfc, .cfml
PHP: .php
Perl: .pl, .cgi
JSP: .jpg

These are the most commin file extensions for the related technologies.

Teddy


 On 11/30/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
wrote:

 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 that is an order sheet
 for us from an AbleCommerce cart.

 [code]
   td class=Products
 /td
   td class=Products$orderItem.getSKU()/td
   td class=Products$orderItem.getName()brfont
 size=2strong$orderItem.getLineMessage()/strong/font/td
   td class=Products
 align=right  
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td
   td class=Products align=center
   div align=center$orderItem.getQuantity()/div/td
 [/code]

 The question is:

 That I need the equivalent of a
   td class=Products $orderitem.getPartNumber /td
 For the first row to replace the
   td class=Products
 /td

 However when I revise that line of code to:
   td class=Products $orderitem.getPartNumber /td
 I get:
   $orderitem.getPartNumber? inside the cell output.

 What is happening?
 Why is it happening?
 How do I fix it?

 This app is CF on top of a Java app.
 I wonder if the $orderitem.getPartNumber is a Java command and I should
 be doing this some other way?

 Any and all help would be appreciated.




 Robert P. Reil
 Managing Director,
 Motorcyclecarbs.com http://motorcyclecarbs.com/, Inc.
 4292 Country Garden Walk NW
 Kennesaw, Ga. 30152
 Office 770-974-8851
 Fax 770-974-8852
 www.motorcyclecarbs.com 



 Mischa Uppelschoten
 The Banker's Exchange, Inc.
 2020 Hills Avenue NW
 Atlanta, GA  30318

 Phone:(404) 605-0100 ext. 10
 Fax:(404) 355-7930
 Web:www.BankersX.com http://www.bankersx.com/
 Follow this link for Instant Web Chat:
 http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



 -
 To unsubscribe from this list, manage your profile @
 
http://www.acfug.org?falogin.edituserformhttp://www.acfug.org/?falogin.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -






--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org





--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
I agree .. not sure how Java works but most programming syntax (especially
object oriented will always have a () on the end of the method and
sometimes containing paramaters (strings and/or variables) inside that are
commonly referred to as arguments.

Maby just adding a () on the end (no quote 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:

$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 that is an order sheet for
us from an AbleCommerce cart. 
 
[code] 
   td class=Products   /td

   td class=Products$orderItem.getSKU()/td 
   td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 
   td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d 
   td class=Products align=center   
   div align=center$orderItem.getQuantity()/div/td 
[/code] 
 
The question is: 
 
That I need the equivalent of a  
   td class=Products $orderitem.getPartNumber /td 
For the first row to replace the  
   td class=Products   /td

 
However when I revise that line of code to: 
   td class=Products $orderitem.getPartNumber /td 
I get: 
   $orderitem.getPartNumber? inside the cell output. 
 
What is happening? 
Why is it happening? 
How do I fix it? 
 
This app is CF on top of a Java app. 
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 
 
Any and all help would be appreciated. 
 
 
 

Robert P. Reil 
Managing Director, 
Motorcyclecarbs.com, Inc. 
4292 Country Garden Walk NW 
Kennesaw, Ga. 30152 
Office 770-974-8851 
Fax 770-974-8852 
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=gin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





re: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Gerrey . Mary-Catherine
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.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 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 
   td class=Products$orderItem.getSKU()/td 
   td class=Products$orderItem.getName()brfont 
size=2strong$orderItem.getLineMessage()/strong/font/td 
   td class=Products align=right 
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td 

   td class=Products align=center 
   div align=center$orderItem.getQuantity()/div/td 
[/code] 
 
The question is: 
 
That I need the equivalent of a 
   td class=Products $orderitem.getPartNumber /td 
For the first row to replace the 
   td class=Products /td 
 
However when I revise that line of code to: 
   td class=Products $orderitem.getPartNumber /td 
I get: 
   $orderitem.getPartNumber? inside the cell output. 
 
What is happening? 
Why is it happening? 
How do I fix it? 
 
This app is CF on top of a Java app. 
I wonder if the $orderitem.getPartNumber is a Java command and I should be 
doing this some other way? 
 
Any and all help would be appreciated. 
 
 
 

Robert P. Reil 
Managing Director, 
Motorcyclecarbs.com, Inc. 
4292 Country Garden Walk NW 
Kennesaw, Ga. 30152 
Office 770-974-8851 
Fax 770-974-8852 
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
I think Teddy may have meant for the JSP: .jpg to actually be JSP:.jsp  .
the .jpg 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

 

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 are the most commin file extensions for the related technologies.

 

Teddy

 

On 11/30/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
wrote: 

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 that is an order sheet for
us from an AbleCommerce cart.

[code]
  td class=Products   /td 
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d
  td class=Products align=center 
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the
  td class=Products   /td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td 
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com, Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152 
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318 

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Teddy Payne

Umm, wow.  That was from no where.  Flying cow patties would be a bad day.

Teddy


On 11/30/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:



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.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 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
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td
  td class=Products align=right
 $LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td

  td class=Products align=center
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td
For the first row to replace the
  td class=Products
/td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com http://motorcyclecarbs.com/, Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com http://www.bankersx.com/
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-





--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Teddy Payne

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 for the JSP: .jpg to actually be JSP:.jsp
 … the .jpg 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



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 are the most commin file extensions for the related technologies.



Teddy



On 11/30/06, *Mischa Uppelschoten ext 10* 
[EMAIL PROTECTED] wrote:

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 that is an order sheet
for us from an AbleCommerce cart.

[code]
  td class=Products
/td
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td
  td class=Products
align=right  
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td
  td class=Products align=center
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td
For the first row to replace the
  td class=Products
/td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com http://motorcyclecarbs.com/, Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com http://www.bankersx.com/
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserformhttp://www.acfug.org/?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org
-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-

-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-





--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org


RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Robert Reil
TMI Teddy...

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden 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 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] wrote: 


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]
mailto:[EMAIL PROTECTED]  
Sent by: [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] 

11/30/2006 03:02 PM 


Please respond to
discussion@acfug.org mailto:discussion@acfug.org 


To

Web Site discussion@acfug.org mailto: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 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 
  td class=Products$orderItem.getSKU()/td 
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d 
  td class=Products align=center   
  div align=center$orderItem.getQuantity()/div/td 
[/code] 

The question is: 

That I need the equivalent of a  
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the  
  td class=Products   /td 

However when I revise that line of code to: 
  td class=Products $orderitem.getPartNumber /td 
I get: 
  $orderitem.getPartNumber? inside the cell output. 

What is happening? 
Why is it happening? 
How do I fix it? 

This app is CF on top of a Java app. 
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

Any and all help would be appreciated. 




Robert P. Reil 
Managing Director, 
Motorcyclecarbs.com http://motorcyclecarbs.com/  , Inc. 
4292 Country Garden Walk NW 
Kennesaw, Ga. 30152 
Office 770-974-8851 
Fax 770-974-8852 
www.motorcyclecarbs.com http://www.motorcyclecarbs.com/  



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web: www.BankersX.com http://www.bankersx.com/ 
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN 



-
To unsubscribe from this list, manage your profile @ 



http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by http://www.fusionlink.com http://www.fusionlink.com/ 
-





- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/  
List hosted by FusionLink http://www.fusionlink.com/  
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org http://www.acfug.org  
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists  
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/  
List hosted by FusionLink http://www.fusionlink.com  
- 



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Robert Reil
This is a piece of code put into an db field. This is pulled from either  a
CFC, or a CFM.

 

If you get the email that I have been trying to send about some support docs
called JAVADOC then it may give clarity

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden 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 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, .cfml

PHP: .php

Perl: .pl, .cgi

JSP: .jpg

 

These are the most commin file extensions for the related technologies.

 

Teddy

 

On 11/30/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

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 that is an order sheet for
us from an AbleCommerce cart.

[code]
  td class=Products   /td 
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d
  td class=Products align=center 
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the
  td class=Products   /td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td 
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com http://Motorcyclecarbs.com , Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152 
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com http://www.motorcyclecarbs.com  



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318 

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com http://www.BankersX.com 
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN 



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform
http://www.acfug.org?falogin.edituserform 

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by http://www.fusionlink.com http://www.fusionlink.com 
-







-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org http://www.acfug.org  
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists  
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
http://www.mail-archive.com/discussion%40acfug.org/  
List hosted by FusionLink http://www.fusionlink.com  
- 



re: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
Here is another thought:

 

These look like custom functions as in getSKU() or getQuantity() etc.
Custom functions have to be logically coded so that you can in fact call
them when needed.

 

Perhaps there is no getPartNumber() function that exists to call. Maybe
you need to get one coded. On the other hand please try adding the () to
the end of the call the function/method to rule it out .

 

Best of luck.

 

Dusty

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 3:48 PM
To: discussion@acfug.org
Subject: 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.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 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 
  td class=Products$orderItem.getSKU()/td 
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d 
  td class=Products align=center   
  div align=center$orderItem.getQuantity()/div/td 
[/code] 

The question is: 

That I need the equivalent of a  
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the  
  td class=Products   /td 

However when I revise that line of code to: 
  td class=Products $orderitem.getPartNumber /td 
I get: 
  $orderitem.getPartNumber? inside the cell output. 

What is happening? 
Why is it happening? 
How do I fix it? 

This app is CF on top of a Java app. 
I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

Any and all help would be appreciated. 




Robert P. Reil 
Managing Director, 
Motorcyclecarbs.com, Inc. 
4292 Country Garden Walk NW 
Kennesaw, Ga. 30152 
Office 770-974-8851 
Fax 770-974-8852 
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Justin Haygood
PHP and Perl use object-method() instead of object.method() C# and Java use 
object.method(). Hard to tell, but I’d hazard it’s Java.

 

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

 

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 are the most commin file extensions for the related technologies.

 

Teddy

 

On 11/30/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: 

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 that is an order sheet for us 
from an AbleCommerce cart.

[code]
  td class=Products   /td 
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont 
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right  
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td
  td class=Products align=center 
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the
  td class=Products   /td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td 
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be 
doing this some other way? 

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com, Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152 
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318 

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
Sorry I am in Jamaica at the moment so I think the emails are sluggish. No 
disrepect for you typo hehe :-)

 

Bless

 

Dusty

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
Sent: Thursday, November 30, 2006 4:10 PM
To: discussion@acfug.org
Subject: Re: [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 for the JSP: .jpg to actually be JSP:.jsp  … the 
.jpg 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

 

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 are the most commin file extensions for the related technologies.

 

Teddy

 

On 11/30/06, Mischa Uppelschoten ext 10  mailto:[EMAIL PROTECTED]  [EMAIL 
PROTECTED] wrote: 

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 that is an order sheet for us 
from an AbleCommerce cart.

[code]
  td class=Products   /td 
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont 
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right  
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td
  td class=Products align=center 
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the
  td class=Products   /td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td 
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be 
doing this some other way? 

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com http://motorcyclecarbs.com/  , Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152 
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com http://www.motorcyclecarbs.com/  



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318 

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web: www.BankersX.com http://www.bankersx.com/ 
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @



http://www.acfug.org?falogin.edituserform 
http://www.acfug.org/?falogin.edituserform 

For more info, see http://www.acfug.org/mailinglists  
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com http://www.fusionlink.com/ 
-






-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org http://www.acfug.org/  
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists  
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists  
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Robert Reil
Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don't know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html
http://motorcyclecarbs.com/remove.me/javadoc/index.html 

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm
http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_temp
lates.htm 

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/
http://jakarta.apache.org/velocity/ ) is used as the template engine to
process the email templates. Templates are written in velocity template
language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a 'Store'
object, named store is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the 'Store' object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com http://www.motorcyclecarbs.com 

  _  

From: Justin 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: 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? 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 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

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

 

Any and all help would be appreciated.

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

 http://www.motorcyclecarbs.com www.motorcyclecarbs.com


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org?fa

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
Speaking of other application servers, could any of you CFers that do PHP
too please refer me to your favorite PHP discussion group. I have to code a
new app in PHP and it is not my normal flavor of code. 

 

Many thanks,

 

Dusty

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
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, the $orderItem.getSKU() is showing that orderItem is an object that has
methods.  We call these type of methods setters and getters, which is
related to the idea of a Java bean or also known as a Value object because
it holds values about a particular item. 

 

The notation looks similar to PHP really.

 

Teddy

 

On 11/30/06, Robert Reil [EMAIL PROTECTED] wrote: 

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 

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d 

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td 

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way? 

 

Any and all help would be appreciated. 

 

 

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com http://motorcyclecarbs.com/ , Inc.

4292 Country Garden Walk NW

Kennesaw , Ga. 30152

Office 770-974-8851

Fax 770-974-8852

 http://www.motorcyclecarbs.com/ www.motorcyclecarbs.com


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
-



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
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 I am in Jamaica at the moment so I think the emails are sluggish. No 
disrepect for you typo hehe :-)

 

Bless

 

Dusty

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
Sent: Thursday, November 30, 2006 4:10 PM
To: discussion@acfug.org
Subject: Re: [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 for the JSP: .jpg to actually be JSP:.jsp  … the 
.jpg 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

 

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 are the most commin file extensions for the related technologies.

 

Teddy

 

On 11/30/06, Mischa Uppelschoten ext 10  mailto:[EMAIL PROTECTED]  [EMAIL 
PROTECTED] wrote: 

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 that is an order sheet for us 
from an AbleCommerce cart.

[code]
  td class=Products   /td 
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont 
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right  
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/td
  td class=Products align=center 
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the
  td class=Products   /td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td 
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should be 
doing this some other way? 

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com http://motorcyclecarbs.com/  , Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152 
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com http://www.motorcyclecarbs.com/  



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318 

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web: www.BankersX.com http://www.bankersx.com/ 
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @

http://www.acfug.org?falogin.edituserform 
http://www.acfug.org/?falogin.edituserform 

For more info, see http://www.acfug.org/mailinglists  
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com http://www.fusionlink.com/ 
-




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org http://www.acfug.org/  
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists  
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Bryan Tidd
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 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 I am in Jamaica at the moment so I think the emails are sluggish.
No disrepect for you typo hehe *

 

Bless

 

Dusty

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
Sent: Thursday, November 30, 2006 4:10 PM
To: discussion@acfug.org
Subject: Re: [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 for the JSP: .jpg to actually be JSP:.jsp
… the .jpg 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

 

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 are the most commin file extensions for the related technologies.

 

Teddy

 

On 11/30/06, Mischa Uppelschoten ext 10 
[EMAIL PROTECTED] wrote: 

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 that is an order sheet
for us from an AbleCommerce cart.

[code]
  td class=Products
/td 
  td class=Products$orderItem.getSKU()/td
  td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td 
  td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true
)/td
  td class=Products align=center 
  div align=center$orderItem.getQuantity()/div/td
[/code]

The question is:

That I need the equivalent of a
  td class=Products $orderitem.getPartNumber /td 
For the first row to replace the
  td class=Products
/td

However when I revise that line of code to:
  td class=Products $orderitem.getPartNumber /td 
I get:
  $orderitem.getPartNumber? inside the cell output.

What is happening?
Why is it happening?
How do I fix it?

This app is CF on top of a Java app.
I wonder if the $orderitem.getPartNumber is a Java command and I should
be doing this some other way? 

Any and all help would be appreciated.




Robert P. Reil
Managing Director,
Motorcyclecarbs.com , Inc.
4292 Country Garden Walk NW
Kennesaw, Ga. 30152 
Office 770-974-8851
Fax 770-974-8852
www.motorcyclecarbs.com 



Mischa Uppelschoten
The Banker's Exchange, Inc.
2020 Hills Avenue NW
Atlanta, GA  30318 

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web: www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN



-
To unsubscribe from this list, manage your profile @

http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
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 by the orderitem object. Maybe there is another object you
should be using (like a part object). Don't know if this thought helps or
hinders but may be worth a shot.

 

Dusty

  _  

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

 

Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don't know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/) is used as the template
engine to process the email templates. Templates are written in velocity
template language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a 'Store'
object, named store is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the 'Store' object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Justin 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: 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? 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 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

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need the equivalent of a 

td class=Products $orderitem.getPartNumber /td

For the first row to replace the 

td class=Products
/td

 

However when I revise that line of code to:

td class=Products $orderitem.getPartNumber /td

I get:

$orderitem.getPartNumber? inside the cell output.

 

What is happening?

Why is it happening?

How do I fix it?

 

This app is CF on top of a Java app.

I wonder if the $orderitem.getPartNumber is a Java command and I should be
doing this some other way?

 

Any and all help would

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Charlie Arehart
Looks like that's using the Velocity templating engine (something that is a
DIFFERENT layer on top of J2EE--kind of a different take on creating
java-based web apps for Java-heads who didn't care for JSP).
 
Robert, I think you're going to be hard-pressed to get help on this hear. If
it's related to ablecommerce, as the URLs and content you've offered
indicates, it seems you're going to have to go to them for help with this.
It's not seemingly related to CFML at all.  If your concern is that they
charge for support, then find out if there are any mailing lists or forums
devoted to supporting AbleCommerce users. I have to believe there are some.
That would have to be more fruitful than throwing a dart in the dark here
(unless of course someone here does know about Velocity--but then I would
think any extended discussion ought to take place off-list). Just my
opinion. I'm not the list 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



Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don't know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/) is used as the template
engine to process the email templates. Templates are written in velocity
template language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a 'Store'
object, named store is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the 'Store' object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Justin 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: 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? 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 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

td class=Products$orderItem.getSKU()/td

td class=Products$orderItem.getName()brfont
size=2strong$orderItem.getLineMessage()/strong/font/td

td class=Products align=right
$LocaleUtils.formatCurrency($store,$orderItem.getUnitPrice(),br,true)/t
d

td class=Products align=center  

div align=center$orderItem.getQuantity()/div/td

[/code]

 

The question is:

 

That I need

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Robert Reil
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 not work.

 

The table is the same but the column is called 

Vend_Number

 

Also this column was manually added to the table as the Ablecommerce cart
did not have that column.

 

So if it is a Java Class it wont know how to find it and I presume I can not
get into the classes.

 

So I wonder if CF can call it by itself?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com http://www.motorcyclecarbs.com 

  _  

From: Dusty Hale [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 30, 2006 4:56 PM
To: discussion@acfug.org
Subject: RE: [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 by the orderitem object. Maybe there is another object you
should be using (like a part object). Don't know if this thought helps or
hinders but may be worth a shot.

 

Dusty

  _  

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

 

Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don't know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html
http://motorcyclecarbs.com/remove.me/javadoc/index.html 

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm
http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_temp
lates.htm 

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/
http://jakarta.apache.org/velocity/ ) is used as the template engine to
process the email templates. Templates are written in velocity template
language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a 'Store'
object, named store is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the 'Store' object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com http://www.motorcyclecarbs.com 

  _  

From: Justin 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: 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? 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 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

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread John Mason
Ok, I'll be the list police :)
 
This isn't a cf related question, please discuss this off list or try the
ablecommerce support list.
 
John
[EMAIL PROTECTED]
 
 

  _  

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.

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 not work.

 

The table is the same but the column is called 

Vend_Number

 

Also this column was manually added to the table as the Ablecommerce cart
did not have that column.

 

So if it is a Java Class it wont know how to find it and I presume I can not
get into the classes.

 

So I wonder if CF can call it by itself?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Dusty Hale [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 30, 2006 4:56 PM
To: discussion@acfug.org
Subject: RE: [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 by the orderitem object. Maybe there is another object you
should be using (like a part object). Don't know if this thought helps or
hinders but may be worth a shot.

 

Dusty

  _  

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

 

Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don't know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/) is used as the template
engine to process the email templates. Templates are written in velocity
template language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a 'Store'
object, named store is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the 'Store' object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Justin 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: 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? 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

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
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, I'll be the list police :)

 

This isn't a cf related question, please discuss this off list or try the
ablecommerce support list.

 

John

[EMAIL PROTECTED]

 

 

 

  _  

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.

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 not work.

 

The table is the same but the column is called 

Vend_Number

 

Also this column was manually added to the table as the Ablecommerce cart
did not have that column.

 

So if it is a Java Class it wont know how to find it and I presume I can not
get into the classes.

 

So I wonder if CF can call it by itself?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Dusty Hale [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 30, 2006 4:56 PM
To: discussion@acfug.org
Subject: RE: [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 by the orderitem object. Maybe there is another object you
should be using (like a part object). Don't know if this thought helps or
hinders but may be worth a shot.

 

Dusty

  _  

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

 

Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don't know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/) is used as the template
engine to process the email templates. Templates are written in velocity
template language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a 'Store'
object, named store is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the 'Store' object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Justin 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: Thursday, November 30, 2006 2:36 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] First try at a real

RE: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Dusty Hale
I understand and I think it is above me at the moment. I think the best
thing would be to find an Ablecommerce forum. Here is one and I am sure
there are many others:

 

http://forums.ablecommerce.com/

 

I’m off to Rick’s Café for cliff diving, cocktails, and Jamaican food so
cheers to everyone.

 

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.

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 not work.

 

The table is the same but the column is called 

“Vend_Number”

 

Also this column was manually added to the table as the Ablecommerce cart
did not have that column.

 

So if it is a Java Class it wont know how to find it and I presume I can not
get into the classes.

 

So I wonder if CF can call it by itself?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Dusty Hale [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 30, 2006 4:56 PM
To: discussion@acfug.org
Subject: RE: [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 by the “orderitem” object. Maybe there is another object you
should be using (like a “part” object). Don’t know if this thought helps or
hinders but may be worth a shot.

 

Dusty

  _  

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

 

Third time trying to send..

 

It probably is.

 

Again this is a CF app on top of a Java app.

I would try digging into this help doc they have called JavaDocs.

But I don’t know what it is and how to dive into it to figure it out.

 

Heres a link for the Java BRAVE!

http://motorcyclecarbs.com/remove.me/javadoc/index.html

 

After some more digging:

I have found this doc at 

http://help.ablecommerce.com/faqs/ablecommerce_55_cfmx/developer/email_templ
ates.htm

---


 Email Templates in AbleCommerce 5.5 CFMX


Merchants can fully customize the customer notification email. It can
include plain text, static HTML, and even dynamic information with the help
of the full fledged template engine. 

Velocity (http://jakarta.apache.org/velocity/) is used as the template
engine to process the email templates. Templates are written in velocity
template language (VTL), which is extremely simple and powerful. 

In a velocity template, certain objects put in the velocity context, can be
accessed directly in a straight forward manner. For example if a ‘Store’
object, named “store” is available in the context, then using
$store.getName() we will get the name of the store. Similarly any method
available in the ‘Store’ object can be called directly.

While writing templates for email messages in AbleCommerce, certain objects
are automatically made available to the context, depending on the type of
event. 

The following table illustrates the objects and their availability for
different events.


Email Notification Objects available for Events 


---  I list here only one that seems relevant.


OBJECT: $orderItem

TYPE:  com.ablecommerce.ac5.order.OrderItem

AVAILABLE TO:

ORDER_ITEM_ADDED

ORDER_ITEM_CHANGED

ORDER_ITEM_MOVED

ORDER_ITEM_REMOVED

ORDER_ITEM_RETURNED

-

 

Ideally I want to be able to pull data from:

Table: Products

Column: Vend_number

 

Can I mix these languages to get that data?

Or will there be a lost token somewhere?

Can I run a separate token for CF?

 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com

  _  

From: Justin 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: 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? This doesn’t look like normal tag based cf
code …

  _  

From

re[2]: [ACFUG Discuss] First try at a real CF edit

2006-11-30 Thread Mischa Uppelschoten ext 10
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 javascript)
/rant


-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-