mardi 20 novembre 2018

how to compare two string variable using if condition in jsf

<c:if test="#{active eq status }">
      <label class="switch">
          <h:selectBooleanCheckbox class="input" id="sta" value="#{CMB.check}" />
          <span class="slider round"></span>
      </label>
</c:if>

i am trying to compare two variable but it is always returning false although varibles values are equals

Aucun commentaire:

Enregistrer un commentaire