Hmm. If you've proven that selectedAgentChanged event is dispatched, can you file a JIRA issue with a small test case?
Thanks, -Alex On 3/13/16, 10:21 PM, "santanu4ver" <[email protected]> wrote: >I'm trying to explain a little more if that helps understand my situation >- > >1. I have a DataGrid inside State A >2. I have a ViewBase 'VB' component in State B >3. DataGrid has a collection of ValueObjects 'VO' showing as row of items >4. When clicked on any row item, DataGrid dispatches it's 'change' event >and >the event catches in /onDataGridChangedEvent() / >5. Inside /onDataGridChangedEvent()/, application State changed to B to >display component 'VB' >6. /onDataGridChangedEvent()/ next injects *DataGrid.selectedItem* to a >variable inside component 'VB' >7. The variable in component 'VB' has GET/SET method as: > >/private var _selectedAgent:AgentChain; > >[Bindable("selectedAgentChanged")] >public function get selectedAgent():AgentChain >{ > return _selectedAgent; >} >public function set selectedAgent(value:AgentChain):void >{ > if (value != _selectedAgent) > { > _selectedAgent = value; > dispatchEvent(new Event("selectedAgentChanged")); > } >}/ > >8. 'selectedAgent' in component 'VB' therefore binded to form fields >within. > > >SET method of 'selectedAgent' dispatches change event, but those form >elements which are displaying 'selectedAgent's properties by binding, not >updating at all. i.e. > >/<js:Label text="ActionID: {selectedAgent.ActionID}"/>/ > > > >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/Binding-not-works-expectedl >y-tp12171p12214.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
