I have an outputText
field for which I write a condition in the rendered
attribute. The condition is for comparing the length of the string with some numeric value.
<h:outputText id="emailaddress"
value ="#{subsAlertsHelper.personEmail.substring(0,20)}"
rendered="#{subsAlertsHelper.personEmail.length() >20}" />
If I use ==
or !=
in rendered
it is working fine. But for greaterthan and lessthan it is not giving the output. What could be the reason for that?