- LinkedList<Cell> cells = new LinkedList<>();
- cells.add(new Cell("Add Email", true, 2, "class=\"title\""));
- cells.add(new Cell("Email Address", true));
- cells.add(new Cell("<input type=\"text\" name=\"newemail\">", false));
- String trans = getLanguage(req).getTranslation("I own or am authorised to control this email address");
- cells.add(new Cell("<input type=\"submit\" name=\"process\" value=\""
- + trans + "\">", false, 2));
- DataTable dt = new DataTable(2, cells);
- dt.output(resp.getWriter(), getLanguage(req));