Advertisement
psi_mmobile

Untitled

Dec 8th, 2020
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. if (null != ContextBean.getCurrent().getSelectedPerson() &&
  2. 0 != ContextBean.getCurrent().getSelectedPersonId()) {
  3. DCIteratorBinding personIterator = ADFUtils.findIterator("PersonView1Iterator");
  4. ViewObjectImpl personViewObject = (ViewObjectImpl)personIterator.getViewObject();
  5. RowQualifier rq = new RowQualifier(personViewObject);
  6. rq.setWhereClause("PersonId=" + ContextBean.getCurrent().getSelectedPersonId());
  7. Row[] rw = personViewObject.getFilteredRows(rq);
  8. personIterator.setCurrentRowWithKey(rw[0].getKey().toStringFormat(true));
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement