<c:if test> seems to always evaluate true in JSF2 Facelets
问题 I am using JSF2 on Facelets. I define an <ui:param> in a page: <ui:composition template="/WEB-INF/templates/ui.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" > <ui:param name="title" value="OnAir WebDemo" /> ... </ui:composition> in the ui.xhtml template I have: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf