Advertisement
psi_mmobile

Untitled

Dec 8th, 2020
827
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.75 KB | None | 0 0
  1.     public void poiCodeDialogListener(DialogEvent dialogEvent) {
  2.         DCIteratorBinding onlyOcPoiView1Iter = ADFUtils.findIterator("OnlyOcPoiView1Iterator");
  3.         Row onlyOcPoiRow = onlyOcPoiView1Iter.getCurrentRow();
  4.         DCIteratorBinding editPdTrfDayView1Iter = ADFUtils.findIterator("EditPdTrfDayView1Iterator");
  5.         Row currentRow = editPdTrfDayView1Iter.getCurrentRow();
  6.         if (dialogEvent.getOutcome() == DialogEvent.Outcome.ok && currentRow != null) {
  7.             currentRow.setAttribute("PoiName", onlyOcPoiRow.getAttribute("Name"));
  8.             currentRow.setAttribute("StartPoiId", onlyOcPoiRow.getAttribute("PoiId"));
  9.             log.debug(" poiId from popup " + (Integer)currentRow.getAttribute("StartPoiId"));
  10.         }
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement