You might want to check this - https://bugs.adobe.com/jira/browse/SDK-14315.
Seems like it's same issue.

Sebastian


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of polestar11
Sent: Tuesday, January 22, 2008 11:06 AM
To: [email protected]
Subject: [flexcoders] Re: Flex Binding Issues

... one more note ...
If I explicitly bind the properties using BindingUtils in the
DetailsWindow.onCreationComplete event like:
                private function onCreationComplete():void {
                        BindingUtils.bindProperty(this, "controller",
TitleWindowController.instance.view, "controller");
                }       
                
... binding works

Strange

--- In [email protected], "polestar11" <[EMAIL PROTECTED]> wrote:
>
> Hi there
> 
> I've run into binding issues with Flex 3B3. I have the following setup:
> - TitleWindow with a singleton TitleWindowController that gets
> initilaized in TitleWindow.onInitialize()
> - DetailsWindow which sits inside TitleWindow and has a getter /
> setter of 'controller' for TitleWindowController. It also contains a
> Text component whose text value is bound to
> TitleWindowController.instance.currentItem.title. Binding is set
> throughout the chain of references.
> 
> I have this exact same setup 1 level higher, which works fine.
> Setting a breakpoint in DetailsWindow at the line:
> <mx:Text id="titleField" text="{controller.currentItem.title}" />
> confirms that controller.currentItem.title has been set. For some
> reason the Text.text is not updating. I have tried various methods
> like myDetailsWindow.validateNow() and .invalidateProperties() once I
> have set currentItem, but nothing happens.
> 
> Tracy
>




--
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




Reply via email to