facesContext.setResponseWriter(responseWriter);
responseWriter.startDocument();
// TODO - parameters and mock renderer/component ?
// for first time, this template only allow skin or faces variables interaction
template.encode(renderer,facesContext,null);
responseWriter.endDocument();
responseWriter.flush();
responseWriter.close();
} else {
throw new FacesException("FacesContext for resource from template "+base.getKey()+" is null");
}