OK, weird, I seem to be able to make it work when passing the object as a
string and evaluate it. Not when I pass it as an object reference and
execute the method on it.

On 2/1/08, Taco Fleur <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> quick question which I hope someone is able to answer.
>
> I have an event gateway setup that takes an *object reference*, *method
> name* and *arguments collection*.
> I pass the gateway a *reference* to an object in the session scope, like
> so;
>
> <cfscript>
>  myData = structNew();
> * myData.object = session.test;*
>  myData.methodName = "doUpdate";
>  sendGatewayMessage( "ASynchronousCall", myData );
> </cfscript>
>
> the method "doUpdate" sets the instance variables in session.test to 1
>
> I know that the gateway calls the method as I have it writing a file (boy
> event gateways are a pain to debug!).
> What it doesn't do is update the original object I passed a reference of,
> because when I output the instance variable its still 0.
>
> Am I missing something crucial here?
>
> Thanks in advance
>
> --
> Try the new Australian search engine and business directory
> www.clickfind.com.au
>
>



-- 
>>> http://www.clickfind.com.au
Looking for a business, product or service? Try the new Australian search
engine www.clickfind.com.au
blog: http://australian-search-engine.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to