private void createTable(Division main) throws WingException { // Get all our parameters String id = parameters.getParameter("versionID", null); Table table = main.addTable("version", 1, 1); Row header = table.addRow(Row.ROLE_HEADER); header.addCellContent(T_column1); header.addCellContent(T_column2); header.addCellContent(T_column3); header.addCellContent(T_column4); VersioningService versioningService = new DSpace().getSingletonService(VersioningService.class); Version version = versioningService.getVersion(context, Integer.parseInt(id)); Row row = table.addRow(); row.addCell().addContent(version.getVersionNumber()); row.addCell().addContent(version.getEperson().getEmail()); row.addCell().addContent(new DCDate(version.getVersionDate()).toString()); row.addCell().addContent(version.getSummary()); List fields = main.addList("fields", List.TYPE_FORM); Composite addComposite = fields.addItem().addComposite("summary"); addComposite.setLabel(T_column4); addComposite.addTextArea("summary"); }