A
Anonymous
October 19, 2009
Question
Method introspection on extended CFC's
- October 19, 2009
- 1 reply
- 724 views
I have written a few small test application with CFbuilder and the biggest bug that I have found so far is that CFbuilder does not introspect extended cfc's thus allowing the code completion of inherited methods.
To give an example, I have created 3 seperate CFC's that all implement an interface.
CFC1 (implements ICFC1)
CFC2 (implements ICFC2)
CFC3 (implements ICFC3)
I would then use this code to call the cfc's
<cfscript>
myVO = createObject("component","org.model.vo.CFC3").init();
myVO.setSomeMethod('test'); // no introspection here
</cfscript>
Ideally when I attempt to set a value with an inherited methods, I should be able to view all the methods that CFC3 inherits.
I have attached my test project to this post.