[Bindable] on the class does make all public variables [Bindable]. There must have been an error somewhere but I couldn't find that string in a quick search.
If you wrote the getter/setter it is up to you to fire the event that indicates it has changed. I think we may be working on doing some code-gen to help you avoid the need for that, but it's not in beta 1. If you only had the getter you can still put [Bindable(event="..")] but you will still be responsible for dispatching the event. In your case of having an ArrayCollection, unless you were redispatching the collection event you'd still need to dispatch an event named "collectionChanged" yourself. Matt -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, February 16, 2006 11:18 AM To: [email protected] Subject: [flexcoders] Re: Warning about "unconverted Bindable data" The problem turned out to be that I had the [Bindable] attribute associated with a couple classes, thinking that this would make all the public data members bindable (not sure why I thought that.) Taking the [Binding] attribute off the class, and putting it on each public data member solved the problem. Here's a related question: Suppose I have a private data member that's a String and a public getter method. I want the string to be bindable, so I have to apply the [Bindable] metadata to the getter method. Also, I have to specify the event fired when the data changes. What event should I specify? If the getter returns an ArrayCollection, I've succesfully used [Bindable(event="collectionChanged")], but I don't know what the equivalent event is for a string. Do I have to implement a setter method and dispatch a specially-named event? Thanks. Tobias --- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > Maybe you had [Bindable] metadata in a class from the Alpha and the > format changed in Beta? I don't remember if we did anything significant > there, maybe check the release notes? > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of tobiaspatton > Sent: Wednesday, February 15, 2006 2:58 PM > To: [email protected] > Subject: [flexcoders] Warning about "unconverted Bindable data" > > Can anyone tell me what this error means? > > warning: unconverted Bindable metadata in class ... > > Thanks. > Tobias. > > > > > > > > -- > 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 > -- 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 -- 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/

