There should not be a problem with what you are trying to do...even before
6.1. Does the following example work for you?


test.cfc
--------

<cfcomponent output="no">

  <cffunction name="init" output="false" returntype="void">
        <cfargument name="foo" type="string" required="true">
    <cfset prop = foo >
  </cffunction>
  
  <cffunction name="getProp" output="false" returntype="string">
        <cfreturn prop>
  </cffunction>
  
</cfcomponent>


test.cfm
--------

<cfset foo = CreateObject("component", "test")>
<cfset foo.init("hello")>
<cfoutput>#foo.getProp()#</cfoutput> - i still exist!


chris


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to