ctx.extendClient(this);
String path = null;
try {
path = this.template.getValue(ctx);
if (path.trim().length() == 0) {
throw new TagAttributeException(this.tag, this.template, "Invalid path : " + path);
}
ctx.includeFacelet(parent, path);
} catch (IOException e) {
if (log.isLoggable(Level.FINE)) {
log.log(Level.FINE, e.toString(), e);
}
throw new TagAttributeException(this.tag, this.template, "Invalid path : " + path);
} finally {
ctx.popClient(this);
ctx.setVariableMapper(orig);
compositionCount = (Integer) facesContext.getAttributes().get("com.sun.faces.uiCompositionCount");