When inside a component, you don't use "this.getName()".  You only need
to use "getName()".

M!ke 

---------------

<cffunction name="getMyThingsWithGetter">
        <cfset local=structnew()>
        <cfquery name="local.qryMyThings">
                Select *
                From Things
                Where name='#this.getName()#'
        </cfquery>
        <cfreturn local.qryMyThings>
</cffunction>
</cfcomponent>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] 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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to