Facelet Custom Component - prevent rendering ui:insert content in custom component
问题 this is my custom component definition: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions"> <c:if test="${empty required}"> <c:set var="required" value="false" /> </c:if> <c:if test="${empty disabled}"> <c:set var="disabled" value="false" /> </c:if> <c:if test="${not disabled}">