Advertisement
psi_mmobile

Untitled

Feb 19th, 2021
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. if (null != mainViewObject && null != getMainViewObject()) {
  2. Key currentRowKey = null;
  3. if (null != getMainViewObject().getCurrentRow())
  4. currentRowKey = getMainViewObject().getCurrentRow().getKey();
  5. log.debug("currentRowKey:" + currentRowKey);
  6. refreshPeopleList();
  7. log.debug("query executed");
  8.  
  9. if (null != currentRowKey) {
  10. Row[] rows = getMainViewObject().findByKey(currentRowKey, 1);
  11. if (rows != null && rows.length == 1) {
  12. getMainViewObject().setCurrentRow(rows[0]);
  13. log.debug("currentRowKey: " + rows[0]);
  14. }
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement