I'm not seeing this. When I create an instance of cat with code like so...

z = createobject("component","address").init("ray");
foo = createObject("component","Cat").init("test",z);

it works correctly. Now, I didn't have your address code, but what I did was
make Address have a default variable, variables.name. When you don't call
init(), it is set to Nameless. I modified Cat to default to "in top" for the
Addres name...

variables.address = createObject('component', 'Address').init('in top');

So, when I run the two lines at top, it correctly shows "ray" as the name of
the Address object assigned to Cat...

<cfdump var="#foo.getaddress().getname()#">
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to