"target", "_top");
page.writeElement("input",
"type", "hidden",
"name", "returnUrl",
"value", new UrlBuilder(page.getRequest()).
absolutePath(page.cmsUrl("/searchAdvancedFull")).
currentParameters());
for (Display display : displays) {
page.writeElement("input", "type", "hidden", "name", FIELDS_PARAMETER, "value", display.getInternalName());
}
page.writeStart("table", "class", "table-bordered table-striped pageThumbnails");
page.writeStart("thead");
page.writeStart("tr");
page.writeStart("th");
page.writeEnd();
page.writeStart("th");
page.writeHtml("Type");
page.writeEnd();
page.writeStart("th");
page.writeHtml("Label");
page.writeEnd();
for (Display display : displays) {
page.writeStart("th");
page.writeHtml(display.getDisplayName());
page.writeEnd();
}
page.writeEnd();
page.writeEnd();
page.writeStart("tbody");
for (Object item : items) {
renderRow(item);
}
page.writeEnd();
page.writeEnd();
page.writeStart("div", "class", "actions");
page.writeStart("button",
"class", "action icon icon-action-download",
"name", "action-download",
"value", true);
page.writeHtml("Export All");
page.writeEnd();
if (type != null) {
page.writeStart("button",
"class", "action icon icon-action-edit",
"formaction", new UrlBuilder(page.getRequest()).
absolutePath(page.cmsUrl("/contentEditBulk")).
currentParameters().
parameter("typeId", type.getId()));
page.writeHtml("Bulk Edit All");