3 Replies Latest reply on Dec 4, 2011 8:18 PM by kamal_khadka

    How to use and operator in EL

    kamal_khadka Newbie

      I have problem using the operators with the EL to render the view

      The following is what I want

      <s:div rendered="#{bean.prop1 ampersand ampersand bean.id != 24L}">

      for some strange reason this doesn't let me use the ampersand

      then tried 'and' the compiler complained about 'L' for long value

      I only need to show the view when both the conditions are satisfied or else something else is showed.

      How should I go about fixing this.

      Thank you very much for any kind of help.