I would expect the two-way binding setup to work.  Matt C. posted an
example some months back, search for that.

Otherwise, you could directly set the object value in a change or
focusOut event.

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jamiebadman
Sent: Wednesday, September 21, 2005 12:38 PM
To: [email protected]
Subject: [flexcoders] 2-way binding ?

Hi,

Probably a simple question ;-)

I have an object, elements of which are bound to on-screen 
components - for example, edit boxes.

A call to the database populated the object - and I then see the 
data appear in the on-screen components.

This is fine!

But what I want to be able to do is change the data in the edit box 
and have the change reflected back in the object, so I can then 
write the change back to the database.

This doesn't seem to work for me - when I examine the content of the 
object just before the DB write, it has the original data in it, not 
the changed data.

I've tried setting up a 2-way bind but that didn't make any 
difference...

This seems to me like something very fundamental and something which 
should easily work but I'm having no joy. Am I trying to do this the 
wrong way, missing something or... ?!

Thanks,

Jamie.

P.S. Thanks to Markus Ansamaa for the 'fix' on my print problem - 
works an absolute treat.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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