Q:

How to check if condition in JSF tag

<h:commandLink value="next" action="#{student.getNext()}"  rendered="#{! (student.maximumSize<=student.idvalue.size)}" ></h:commandLink>

But I'm getting error in student.maximumSize<=student.idvalue.size
<= What can I  replace here .. ??

A:

Best is to remove the ! and use gt
<h:commandLink rendered="#{student.maximumSize gt student.idvalue.size}" value="next" action="#{student.getNext()}"></h:commandLink>

or try this
<h:commandLink rendered="#{not (student.maximumSize le student.idvalue.size)}" value="next" action="#{student.getNext()}"></h:commandLink>

Here the el expressions that should be used instead of the signs like == < > etc...
==  -->  eq
!=  -->  ne
<   -->  lt
>   -->  gt
<=  -->  le
>=  -->  ge

