I have this attribute in my h: commandButton
disabled="#{ not ( ( nodeChild.children == null or empty nodeChild.children ) and ( not setupManager.currentTerminals ) ) }"
If it displays disabled="false", everything works, and the other throws this exception
SEVERE: javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot convert [] of type class java.util.ArrayList to class java.lang.Boolean
What is the best way to write the above condition? Can brackets be used?
source
share