1 Reply Latest reply on Feb 7, 2012 8:13 PM by Steven Davelaar-Oracle

    Is it possible to use if then else EL expression with DependsOnItem?

      I have an item in a form layout which depends on items depends on the value of another item (DocumentType).
      If DocumentType = N then DependsOnItem --> Name

      If DocumentType=J then DependsOnItem --> Name, Mapping

      With EL I have tried to use the following expression:

      DependsOnItem --> #{bindings.DocumentType.inputValue=='J' ? (Name,Mapping) : (Name)}

      But this does not work. Can anyone tell me if this is possible with EL and DependsOnItem?