on page i have a master-detail tables
i click on detail to mark rows with boolean checkboxes, then call the following piece of code
getCurrentRow() was working for a long time, but today i discovered it returns null. (after some changes )
OperationBinding operationBinding = bindings.getOperationBinding("moveRegisterLines");
dciter = (DCIteratorBinding)bindings.get("DcaRegisterLinesV1Iterator");
Row currRow=dciter.getCurrentRow(); --it;s null here
what might cause that table's row is not in synchro with model layer?
Be aware of refreshing the query sometimes when you select a row from table and click a button some components may refresh your table.
Then try like this;
AppModule am = ADFUtils.getAppModuleInterface();
ViewObject vo = am.findViewObject("your view object name");
Row row = vo.getSelectedRow();
i hope this will hellp you
come on, give me a break.
+getCurrentRow() was working for a long time, but today i discovered it returns null. *(after some changes* )+
So what has changed since the working state and the broken state? Things don't happen overnight and usually have a cause. When you don't click the check box but on another row in the table, does it then select the row properly? If so then your check box is the cause to look at. Please provide additional information
it's all right you write.
i made some changes that can't rollback.
the problem originally started to inflate when massive checkbox mark runtime took too long.
so i created a stored proc to mark/unmark all records (several thousands) and then refresh table
then in multiuser test i found locks on that table , but i checked any trigger on that table , even disabaled it.
plus i added some js to call refresh
so that's how i lost that tabgle being in synchro
so what i 'd like to do is implement manual current row synchro in bb...