KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel