Is it possible to specify which argument you are passing into a method when creating an object? When I use the following syntax, the method assigns the first parameter to the first argument, the second parameter to the second argument and so on:
<cfset productItemGateway = createObject("component", "productItemGateway").init(Application.dsn)> <cfset getProductsAndItems = productItemGateway.getProductAndItems(url.formatID,url.catID) /> When I was using <cfinvoke /> I would just add an attribute like formatID="url.formatID". Is there any way of doing something similar using createObject()? Thanks, Aaron ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org