@Override
public void init(Map<String, Object> params) {
getDialogOptions().setHeight("400px");
StringBuilder sb = new StringBuilder();
for (AppPropertyEntity entity : exported) {
sb.append("insert into SYS_CONFIG (ID, CREATE_TS, CREATED_BY, VERSION, NAME, VALUE_)\n");
sb.append("values ('").append(entity.getId())
.append("', current_timestamp, '")
.append(uss.getUserSession().getUser().getLogin())
.append("', 0, '")
.append(entity.getName())
.append("', '")
.append(entity.getCurrentValue()).append("');\n\n");
}
scriptArea.setValue(sb.toString());
}
}