Advertisement
psi_mmobile

Untitled

Dec 18th, 2019
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. public void onPageLoad(ClientEvent e) {
  2. DCIteratorBinding personListIterator = ADFUtils.findIterator("PersonView1Iterator");
  3. if (null != personListIterator) {
  4. Row currentPersonRow = getMainViewObject().getCurrentRow();
  5. if (null != currentPersonRow) {
  6. Integer personStatusId = (Integer)currentPersonRow.getAttribute("PersonStatusId");
  7. if (personStatusId == 0) {
  8. Key rowKey = personListIterator.getCurrentRow().getKey();
  9. personListIterator.setCurrentRowWithKey(rowKey.toStringFormat(true));
  10. }
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement