Advertisement
psi_mmobile

Untitled

Aug 5th, 2020
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. public void poiNameDialogListener(DialogEvent dialogEvent) {
  2. DCIteratorBinding poiIterator = ADFUtils.findIterator("OcPoiNameListView1Iterator");
  3. if (dialogEvent.getOutcome() == DialogEvent.Outcome.ok) {
  4. Row currentRow = poiIterator.getCurrentRow();
  5. poiIterator.getRowSetIterator().setCurrentRow(currentRow);
  6. RichInputListOfValues poiNameUI = (RichInputListOfValues)JSFUtils.findComponentInRoot("poiNameId");
  7. if (null != poiNameUI) {
  8. poiNameUI.setValue(currentRow.getAttribute("Name"));
  9. AdfFacesContext.getCurrentInstance().addPartialTarget(poiNameUI);
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement