2 Replies Latest reply on Feb 7, 2008 4:39 PM by ntsiii

    Complex bindings to enable/disable components

    Ansury Level 3
      How can you do something like this?

      <mx:ComboBox enabled="{model.someobject != null & someBooleanValue == true}"/>
      or
      <mx:ComboBox enabled="{model.someobject != null && someOtherObject == null}"/>
      etc.

      Obviously the "&" and "&&" don't work, I'd like to do an "and" operation. Is there no way to do this and still have the bindings work? I've tried using a function with that logic, but it's only evaluated once.