"class", "searchAdvancedResult",
"method", "post",
"action", page.url(null));
page.writeElement("input", "type", "hidden", "name", TYPE_PARAMETER, "value", type != null ? type.getId() : null);
page.writeElement("input", "type", "hidden", "name", PREDICATE_PARAMETER, "value", predicate);
page.writeElement("input", "type", "hidden", "name", "returnUrl", "value", page.url(""));
for (ObjectField field : fields) {
page.writeElement("input", "type", "hidden", "name", FIELDS_PARAMETER, "value", field.getInternalName());
}