public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, ELException { ctx.extendClient(this); boolean found = false; try { found = ctx.includeDefinition(parent, this.name); } finally { ctx.popClient(this); } if (!found) { this.nextHandler.apply(ctx, parent); } }