In theory, this could probably work, however you need to realise that
CFC's are not 'regular' Java Objects, they may well be accepted by the
code you are referring to, but I doubt they could pass across, at a
Java Level, the complex state that they contain.

You may have to write your own CFC -> JSON serializer to do it. (No
idea if one exists)

Mark

On 8/9/06, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> Mark,
>
> At the moment I use json and JS arrays in my code, but I am was reading some
> java ajax frameworks and they seem to return the object to JS as a java
> object, so my thinking is that if I did <cfreturn this /> would it be
> accepted as a java object?
>
> The reason I am asking is that, I could loop over the properties to populate
> the elements that are required, I realise that DWR has this but was curious
> as an exercise if this could be achievable with CF instead of java?


-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to