> If CFC "item" is initialised with an ID and every method
in that CFC uses that
> ID to filter certain things, how can I extend this
"item" CFC in another CFC
> called "ui" and still have access to its methods?
You don't have to do anything in particular, other than
putting the EXTENDS
attribute in UI.cfc's <cfcomponent> tag, and the
instantiate your object as
a type of UI instead of a type of item, eg:
o = createObject("component", "ui").init(/*whatever is
necessary here*/);
Because UI.cfc extends item.cfc, it'll use the same init()
method, unless
UI.cfc has one of its own, in which case you might want to
consider calling
super.init() in that, at an appropriate point (usually first
thing).
> I am getting errors
It's hard to work out why you might be getting errors without
seeing the
actual code and the actual error message...
--
Adam