Sure.  I've got the object inspector that's part of the FAST toolkit 
so I can inspect the objects in ActionScript in real time.  If I 
inspect the value object before it gets passed to the remote object it 
looks fine; lots of values are blank strings but none say "null".

I then pass the object to the remote object method and the remote 
object just does that Len() on a property of the object (it's only 
there to do an operation on the passed in object to verify the 
existance of the property, it throws an exception since it thinks the 
property isn't there), and the CFC then passes back the object.

Once I've received the object back in ActionScript I inspect it again, 
and a number of the parameters are "null".

The weird thing is even if I put a value in the constructor of the 
value object and assign it to these properties, the returned object 
still contains nulls.. but if I update my GUI (controls and validators 
are bound to the VO) that parameter magically works.

Maybe it's something to do with how I've got the stuff bound?  But 
that doesn't make sense, why would it work via SOAP but not AMF?

Very confusing.. complicated enough that I should probably post some 
full example code :)

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
> When you say that you "inspect the object that gets returned", do you
> mean the object that is returned to the client back in ActionScript? 
If
> so, then I'm confused by your attempt to use Len() as this is a CF
> function, no? 
> 
> Can you be more specific where the inspection is taking place when 
you
> say, "even though if I inspect the object it isn't null"?
> 
> Thanks, 
>   Pete




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to