Ok, jamming along here but I got another Q. Say I have two cfcs, foo and goo. foo
has say two properties ein and zwei. ein is a numeric id of sorts. zwei is a goo.
Now when I init ein I use
<cfset variables.ein = 42>
The this scope based on previous threads here.
How do I init zwei? Or maybe more precisely, what scope should zwei live in within
the foo cfc? I need to access getters/setters.etc within the goo cfc via foo.zwei,
not via foo.
<cfset variables.zwei = CreateObject("component","goo").init() /> does NOT allow me
to access say foo.zwei.getName().
<cfset this.zwei = CreateObject("component","goo").init() /> does allow me to
access say foo.zwei.getName() though, but its in the this scope now.
---->dugOUT ���
"When I was kidnapped, my parents snapped into action. They rented out my room." --
Woody Allen
----------------------------------------------------------
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).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]