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