Sure enough, it's something to do with the two way bindings!

If I have the binding from the value object to the text field it 
causes a problem, but if I take off the binding it's fine.  I did a 
two-way binding because I'll probably reuse this form for editing a 
registration.

But it's not for all the fields even though they're all coded the 
same as far as I can see!  So it must be some kind of timing thing.  
I'm creating my VO on initialize.

Here's the code I've got: http://www.darkmatter.ca/flex/roexample.zip

The app is in the mxml directory, the cfc in the cfc directory, and 
the FAST toolkit is in the user_classes directory.

--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
> 
> > 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.
> 
> [Pete] (It may have nothing to do with this as it's not typically 
what
> one does when working with CFCs), but are you using either
> Object.registerClass() or the _remoteClass property approach to map
> client and server "value objects"? 
> 
> Seeing some code for the ValueObject and CFC will definitely help - 
you
> can mail it to me off-list if it's more convenient.





 
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