How to change row state
Some time you need to change the row status to be NEW instead on initalized
ViewRowImpl row = null;
DCIteratorBinding itr = ADFUtils.findIterator("DocTransHdrViewIterator");
ViewObjectImpl vo = (ViewObjectImpl) itr.getViewObject();
row = (ViewRowImpl) vo.createRow();
row.setNewRowState(Row.STATUS_NEW);
ViewRowImpl row = null;
DCIteratorBinding itr = ADFUtils.findIterator("DocTransHdrViewIterator");
ViewObjectImpl vo = (ViewObjectImpl) itr.getViewObject();
row = (ViewRowImpl) vo.createRow();
row.setNewRowState(Row.STATUS_NEW);
Comments