On 3/8/06, João Fernandes <[EMAIL PROTECTED]> wrote:
> <cfset myobj = application.reactor.createRecord("myrecord")>
> <cfdump var="#myobj#">
>
> Dumps just fine my record object
>
> <cfdump var="#myobj.myfunction#">
>
> Dumps fine the function too
>
> <cfinvoke object="#myobj#" method="myfunction" >
> <cfinvokeargument name="myvar" value="myvalue">
> </cfinvoke>
>
> Hummmm.... I get:
>
> Entity has incorrect type for being called as a function.
> The symbol you have provided "myfunction" is not the name of a function.
Well, it should work just fine so I suspect the error is in the code
you're not showing us!
Where is myfunction defined?
--
Sean A Corfield -- http://corfield.org/
Got frameworks?
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/