2 Replies Latest reply on Sep 14, 2010 11:08 AM by Fred in Orlando

    boolean  && in xml; how to

    Fred in Orlando

      I would like to do something like this:




      <mx:Button  enabled = "{(Globals.SelectedAssessment!=null) && (Globals.User.isMDSCoordinator==true)}" />


      but I cannot figure out how.  Any ideas?


      The compiler seems to accept the "+" operator which might be an "or" but I really need an "and" operator.


      I guess I could define a funtion, but I've got several different conditions and it feels clunky.