That was it. It didn't occur to me that I would need to reference the
folder name.
Thanks
Joelle
Matt Williams wrote:
What does the component that has newProjectCreated() have for an argument?
If its type is simply Project, then it must be in the same directory as
the Project.cfc. Otherwise
I'm working on a small application to learn cf and oop and I've got a
problem with an object not being the type of object it's supposed to be.
I've got Project.cfc
cfcomponent name=Project output=true hint=contains needed
information for a project
cffunction name=init access=public
In the Project.cfc init function, change return type to Project.
Then add cfreturn this
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
I did that:
cffunction name=init access=public output=true
returntype=Project hint=function to instantiate the class
cfargument name=projectID type=numeric required=true
hint=projectID
cfargument name=title type=string required=true
hint=Title of this project as given when
What does the component that has newProjectCreated() have for an argument?
If its type is simply Project, then it must be in the same directory as
the Project.cfc. Otherwise you may have to do ttComponents.Project for the
argument type.
5 matches
Mail list logo