log.log(Level.FINEST, "Flushing and closing stream", ex);
}
}
URL fabricatedFaceletPage = tempFile.toURI().toURL();
Facelet f = createFacelet(fabricatedFaceletPage);
UIComponent tmp = (UIComponent)
app.createComponent("javax.faces.NamingContainer");
tmp.setId(context.getViewRoot().createUniqueId());
f.apply(context, tmp);
result = tmp.findComponent(tempId);
tmp.getChildren().clear();
osw = null;
} catch (MalformedURLException mue) {