... 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 flexcoders@yahoogroups.com, "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 >