resp.sendRedirect(DEFAULT_PATH + "/" + form.getOrganisation().getId());
}
return;
+ } else if (req.getParameter("addDomain") != null) {
+ if (Form.getForm(req, OrgDomainAddForm.class).submit(resp.getWriter(), req)) {
+ // resp.sendRedirect(DEFAULT_PATH + "/" +
+ // form.getOrganisation().getId());
+ }
} else {
if ( !u.isInGroup(CreateOrgPage.ORG_ASSURER)) {
resp.sendError(403, "Access denied");
HashMap<String, Object> vars = new HashMap<>();
vars.put("editForm", new CreateOrgForm(req, o));
vars.put("affForm", new AffiliationForm(req, o));
+ vars.put("addDom", new OrgDomainAddForm(req, o));
mainTempl.output(out, lang, vars);
}