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 so
outputText
rendered
rendered only accepts EL expression.
subsAlertsHelper.personEmail.length() is incorrect.
subsAlertsHelper.personEmail.length()
On the personEmail object, add a method getLength() witch returns the length
getLength()
public int getLength(){ return this. length();}
Modify :
rendered="#{subsAlertsHelper.personEmail.length >20}"