HtmlTableRow row2 = htmlTable.createRow();
HtmlTableCell photoCell = row2.createCell();
photoCell.setColspan(headerRow.getCells().size());
HtmlCheckBox checkBox =
new HtmlCheckBox(BundleUtil.getString(Bundle.APPLICATION, "label.viewPhoto"), bean.getViewPhoto());
checkBox.bind(getInputContext().getMetaObject(), "viewPhoto");
photoCell.setBody(checkBox);
HtmlTableRow row3 = htmlTable.createRow();
HtmlTableCell submitCell = row3.createCell();
submitCell.setColspan(headerRow.getCells().size());