use of models.datatable.CertificateDataTable in project coprhd-controller by CoprHD.
the class Certificates method list.
@FlashException
public static void list() {
CertificateDataTable dataTable = new CertificateDataTable();
List<StringOption> options = Lists.newArrayList();
options.add(new StringOption("true", MessagesUtils.get("common.yes")));
options.add(new StringOption("false", MessagesUtils.get("common.no")));
TruststoreSettings certificateSettings = null;
certificateSettings = api().getTruststoreSettings();
angularRenderArgs().putAll(ImmutableMap.of("options", options, "certificateSettings", certificateSettings));
render(dataTable);
}
Aggregations