* @param addForm add form.
* @throws Exception
*/
public static void addAddButtonToAddForm(String labelId, FormListWidget editableRows, FormWidget addForm) throws Exception {
ButtonControl addButton = new ButtonControl();
addButton.addOnClickEventListener(new ButtonAddOnClickEventListener(editableRows, addForm));
addForm.addElement("add", labelId, addButton, null, false);
}
/**
* Returns whether the editable rows forms have been edited since last save. Note that for