Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (null != ContextBean.getCurrent().getSelectedPerson() &&
- 0 != ContextBean.getCurrent().getSelectedPersonId()) {
- DCIteratorBinding personIterator = ADFUtils.findIterator("PersonView1Iterator");
- ViewObjectImpl personViewObject = (ViewObjectImpl)personIterator.getViewObject();
- RowQualifier rq = new RowQualifier(personViewObject);
- rq.setWhereClause("PersonId=" + ContextBean.getCurrent().getSelectedPersonId());
- Row[] rw = personViewObject.getFilteredRows(rq);
- personIterator.setCurrentRowWithKey(rw[0].getKey().toStringFormat(true));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement