return null;
}
@Override
protected void doService(final ToolPageContext page) throws IOException, ServletException {
ExternalContent content = new ExternalContent();
content.setUrl(page.param(String.class, "url"));
page.writeTag("!doctype html");
page.writeStart("html");
page.writeStart("head");
page.writeEnd();
page.writeStart("body");
if (content.getResponse() == null) {
page.writeStart("div", "class", "message message-error");
page.writeHtml("Preview not available!");
page.writeEnd();
} else {
content.renderObject(page.getRequest(), page.getResponse(), page);
}
page.writeEnd();
page.writeEnd();
}