JC: refectiing. Add readonly? trigger to edit form. Fixed bug with integration test.