I have a JSF page which i control the renderer attribute according to managed bean property.
<p:commandLink action="#{smartphoneBean.drillDown(smartphone.ldapuser,smartphone.productGrp)}"
rendered="#{!(smartphone.ldapuser.charAt(0) ge '0' and smartphone.ldapuser.charAt(0) le '9')}" value="#{smartphone.ldapuser}">
Once i run my code. this commandLink whose values starts with any number is still rendered.
I expect to compare integer representation of char values.
do you have any idea about the issue?