_exec = exec;
}
//@Override
public void render(Page page, Writer out) throws IOException {
final Desktop desktop = _exec.getDesktop();
out.write(HtmlPageRenders.outLangStyleSheets(_exec, null, null));
out.write(HtmlPageRenders.outLangJavaScripts(_exec, null, null));
out.write("<script type=\"text/javascript\">zkpb('");
out.write(page.getUuid());
out.write("','");
out.write(desktop.getId());
out.write("','");
out.write(getContextURI());
out.write("','");
out.write(desktop.getUpdateURI(null));
out.write("','");
out.write(desktop.getRequestPath());
out.write('\'');
String style = page.getStyle();
if (style != null && style.length() > 0) {
out.write(",{style:'");