putViewData("company", company);
}
public void handleEventChooseCompany(String eventParameter) throws Exception {
log.debug("Event 'chooseCompany' received!");
getFlowCtx().start(new CompanyListWidget(false), null, new FlowContext.Handler() {
public void onFinish(Object returnValue) throws Exception {
Long id = (Long) returnValue;
company = (CompanyMO) getGeneralDAO().getById(CompanyMO.class, id);
log.debug("Company with id of " + id + " set to this contract");
}