addSurplusRow(dto);
}
}
private void addSurplusRow(Object obj) {
Parse newRow = new Parse("tr", null, null, null);
currentRow.more = newRow;
currentRow = newRow;
try {
String value = getValueFrom(obj, bindings[0]);
Parse firstCell = new Parse("td", value, null, null);
newRow.parts = firstCell;
firstCell.addToBody(Fixture.gray(" surplus"));
wrong(firstCell);
for (int i = 1; i < bindings.length; i++) {
Parse nextCell = new Parse("td", getValueFrom(obj, bindings[i]), null, null);
firstCell.more = nextCell;
firstCell = nextCell;
}
} catch (Throwable e) {
exception(newRow, e);