O yes, that's right.
But I am using this 
http://www.adobe.com/devnet/flex/quickstart/defining_data_models/
and it does not have bindable for each getter. I think.


--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> You haven't made otherfilenumber bindable, so
> {modelGeneral.otherfilenumber} is causing this warning.
>  
> Gordon Smith
> Adobe Flex SDK Team
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, January 02, 2008 1:20 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Help with an error message
> 
> 
> 
> warning: unable to bind to property 'otherfilenumber' on 
> class 'accidents.ModuleCode::accidentsGeneralModel
> 
> How should I understand that?
> 
> my form:
> ...
> <moduleCode:accidentsGeneralModel id="modelGeneral"/>
> ...
> <mx:FormItem label="File Number">
> <mx:TextInput 
> text="{modelGeneral.otherfilenumber}" id="otherfilenumber" 
> width="72"/>
> </mx:FormItem>
> 
> package accidents.ModuleCode
> {
> public class accidentsGeneralModel
> {
> private var _otherfilenumber:int = 0;
> 
> [Bindable]
> public var modelValid:Boolean = false;
> 
> public function get otherfilenumber():int
> {
> return _otherfilenumber;
> }
> 
> ......
>


Reply via email to