uau, that wast fast.... thank for replying in such a short notice.
i have tried the ExtendedTableDataModel, i provided in it's constructor a class implementing the DataProvider interface.
the action triggered by the button on the same form but outside the table doesn't throw exception anymore, but i still can't get the selected row on the table. The table's getRowData method returns null. The button only has an action, nu ajaxSingle or bypassUpdates flags set.
What version do you use?
i am using version 3.3.0 CR3.
I have solved the problem by implementing that interface, but i still need to figure out how to determine the correct object that is on the selected row, given the context of sorting. If the table is not sorted, then i get the object that it should be, but if i sort the grid by any header, the rowKeyVar gets all messed up so the selected object is not the real one.
Any ideas on this issue?
Or else maybe you have another way of determining the selected object when the submit is not from within the table...