This solved my problem

 BindingUtils.bindProperty(component, "text",
ModelLocator.getInstance(),["newHireDto", "middleName"]);



On Sat, Apr 4, 2009 at 12:35 AM, Vaibhav/Steve <[email protected]>wrote:

>
> I think change watcher class is there, it mite help you.
>
>
> On Apr 3, 9:25 pm, Veena <[email protected]> wrote:
> > Hi Guys ...
> >
> > I am totally stuck on this scenario. Any suggestion is greatly
> > appreciated..
> >
> > Scenario:
> >
> > I am creating a textinput component dynamically and binding it to a
> > ModelLocator instance as shown below
> >
> > component = new TextInput();
> > BindingUtils.bindProperty(component, "text", ModelLocator.getInstance
> > ().newHireDto, "firstName");
> >
> > p.s when there is any change in the ModelLocator.getInstance
> > ().newHireDto "firstName" attribute, I wanted the changed firstName
> > value to be reflected in the dynamically created TextInput component
> > "text" property. What am I missing in the above code.???
> >
> > BTW, I am using Cairgorm framework and AS3 in my project.
> >
> > Thanks!
> > Veena
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to