title: Pass information from popup to main window on Oracle ADF
body: <p>I have a popup that show a table with data, I am able to select a row, and by pressing a OK button I can retrieve the idNo of the selected row in the table.</p>
  
  <p>What I want to do is to pass this idNo to the window that is calling the popup and update a outputText that is on this window.</p>
  
  <p>Can some one help me?</p>
  
  <p>Code for the button:
      </p>
  
  <p>newBean Class for the button:</p>
  
  <pre><code> public String b1_action() {
          // Add event code here...
  
          System.out.println("Select One Button has been Clicked");
  
              // Get bindings associated with the current scope, then access the one that we have assigned to our table - e.g. OpenSupportItemsIterator
              DCBindingContainer bindings =
                  (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
              DCIteratorBinding dcItteratorBindings =
                  bindings.findIteratorBinding("NameView1_1Iterator");
  
              // Get an object representing the table and what may be selected within it
              ViewObject voTableData = dcItteratorBindings.getViewObject();
  
              // Get selected row
              Row rowSelected = voTableData.getCurrentRow();
  
              // Display attriebute of row in console output - would generally be bound to a UI component like a Label and or used to call another proces
              System.out.println(rowSelected.getAttribute("IdNo"));
  
              setOutputText("" + rowSelected.getAttribute("IdNo") + "");
              closePopup("p1");
  
          return null;
      }
  </code></pre>
  
  <p>I want that my function: <code>setOutputText()</code> which is not implemented yet to be able to update my outputText on the main Window.</p>
  
  <p>Thanks
  Best Regards</p>