Hi Steve
If you're just trying to avoid referencing the component name within
itself, then why not try using
local.metaData = GetMetaData(this);
local.tmpObj = CreateObject(component, local.metaData.fullname).init();
You might want to check the docs to see if fullname is the correct key
to
Duplicate works on CFC instances, so Duplicate(this) would work. Of course
it also duplicates the state of the instances variables in 'this', so it
might not be what you want.
Otherwise, try CreateObject(component,GetMetaData(this).name) or
maybe
An you do something like
new init()
?
From: Dennis Clark [mailto:boomf...@gmail.com]
Sent: Wednesday, 13 July 2011 8:58 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CreateObject of itself
Duplicate works on CFC instances, so Duplicate(this) would work. Of course
it also