There seems to a problem with placing a button and performing a commit operation. I have a normal grid which is attached to a Business object and the table in the database has a unique column.
When I populate the grid, everything comes fine. When I added rows in the grid, some of the rows did not have a unique value and when I clicked save button(Commit action), Metastorm returned unique key violation error which is fine. But why did it disable the save button?.
Now even if I change the rows in the grid to have unique values, the save button still remains disabled. The same behaviour is noted even if there is no grid and pure textbox(s) in form.
I cannot expect the user to close the form and open it again especially if user has made mistake in 1 of the rows does not mean all the changes should be lost.
Using javascript we can enable the button somehow, but we know that it is not the proper way.
Please suggest us on what can be done. Should it be reported as bug?