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()<br><font
size=2><strong>$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
-------------------------------------------------------------

Reply via email to