putViewData("allowAdd", new Boolean(editMode));
putViewData("allowRemove", new Boolean(editMode));
}
protected ListWidget initList() throws Exception {
ListWidget temp = new ListWidget();
temp.setListDataProvider(new TemplateContractListDataProvider());
temp.addListColumn("id", "#Id");
temp.addListColumn("company", "#Company");
temp.addListColumn("person", "#Person");
temp.addListColumn("notes", "#Notes");
return temp;
}