Ken .
Posts: 3
Nickname: kenonartim
Registered: Aug, 2009
|
|
Re: Two-Way Data Binding in Flex 4
|
Posted: Aug 17, 2009 12:00 PM
|
|
I have several times debugged problems where a 'cascade' of [Bindable] was used --- one [Bindable] triggers another [Bindable] etc., the final bindables were used to control features of columns in an advanced data grid. If you trace [Binadble] through the debug player, you will see that it does a 'LOT' of work. With a complex enough situation the Flex runtime can take longer than the server timeout (30 minutes) to return.
I have many situation with complex usage of [Bindable] that do work, but there is a limit to how complex the usage can be.
In the situations where I had problems, simply removing [Bindable] and explicitly setting values solved the problem.
I find that often [Bindable] is simply used as the 'easiest way', which is fine in small applications, but in a large 'mission critical' application you can get into a very difficult to detect problem, which if the code is being maintained months after it was written or being maintained by someone other than the original coder can be problematic.
|
|