I changed the calling code to:


  <cfset lcLink = REQUEST.fImageCol(tcItemNumber = KitItems.CarrierInv, tcLinkType = APPLICATION.cJobImgLinkType, tcLinkDesc = APPLICATION.cJobImgLinkDesc)>
  <td class="details_center">#lcLink#</td>

Now I get the message: Cannot invoke method fImageCol on an object of type coldfusion.runtime.RequestScope with named arguments


I define the function in my Application.cfm file this way:


<cfinclude template="/myEU/fImageCol.cfm">


And the last line of the fImageCol.cfm file is: <cfset REQUEST.fImageCol = fImageCol>

______________________________________________________
  <file:///E:/EUColor.gif>
Bill Grover
Manager, Information Systems Phone: 301.424.3300 x3324
EU Services, Inc. FAX: 301.424.3696
649 North Horners Lane E-Mail:   <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
Rockville, MD 20850-1299 WWW:   <http://www.euservices.com/> http://www.euservices.com
______________________________________________________

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 3:56 PM
To: CF-Talk
Subject: RE: CFFunction Question

Use x=y notation:

<cfset result = someFunction(arg=value, arg2=value, arg3=value)>
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to