Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onPageLoad(ClientEvent e) {
- DCIteratorBinding personListIterator = ADFUtils.findIterator("PersonView1Iterator");
- if (null != personListIterator) {
- Row currentPersonRow = getMainViewObject().getCurrentRow();
- if (null != currentPersonRow) {
- Integer personStatusId = (Integer)currentPersonRow.getAttribute("PersonStatusId");
- if (personStatusId == 0) {
- Key rowKey = personListIterator.getCurrentRow().getKey();
- personListIterator.setCurrentRowWithKey(rowKey.toStringFormat(true));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement