String rowId = Long.toString(new Date().getTime());
row.addAttribute("id", rowId);
// Create the employee selection box (binding to employees) and add it to a column:
BindStatusHelper helper = new BindStatusHelper("command.employees");
Select selectionList = new Select(helper.getStatusExpression());
for (IEmployee emp : employees) {
Option o = new Option(emp, "matriculationCode", "surname");
selectionList.addOption(o);
}
TableData td1 = new TableData(selectionList);
// Create the remove button and add it to another column:
InputField removeButton = new InputField("toRemove", "Remove", InputField.InputType.BUTTON);