1
<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

Kukeltje
  • 12,223
  • 4
  • 24
  • 47
Sadaf naaz
  • 11
  • 1
  • 3
    What is status? Is it the status variable from a JSF loop component like ui:repeat? If so, read this carefully: https://stackoverflow.com/questions/3342984/jstl-in-jsf2-facelets-makes-sense – Selaron Nov 20 '18 at 15:31

0 Answers0