title: Oracle ApEx collection info not appearing within PL/SQL region
body: <p>I am having an issue with Oracle ApEx Collections and unsure why I am not seeing the results that I thought I would.</p>
  
  <p>Firstly, I am using Oracle ApEx v3.0</p>
  
  <p>I basically have the following setup as described in this example with regards to preserving checkboxes from Joel Kallman, i.e.:</p>
  
  <p><a href="http://joelkallman.blogspot.com.au/2008_03_01_archive.html" rel="nofollow noreferrer">http://joelkallman.blogspot.com.au/2008_03_01_archive.html</a></p>
  
  <p>Th describe my scenario, I resent the user with a list of records by where they select any number of checkboxes, using Joel's example, the records selected are stored within the apex collection 'EMP_COLLECTION'.</p>
  
  <p>Now all this seems to be storing correctly within the 'EMP_COLLECTION' but when I attempt to access these stored values from within the collection, within the PL/SQL region that is a jQuery UI dialog, I can't seem to obtain the values.</p>
  
  <p>Now the page has not been submitted at this point. So when the user selects a number of checkboxes that are being ajax stored in the backend into the 'EMP_COLLECTION', the user then presses a button that calls a javascript function that basically performs a <code>.dialog('open')</code> call, which all works fine.</p>
  
  <p>This then calls my PL/SQL region block where in the <code>Region Header</code>, I have defined the following:</p>
  
  <pre><code>&lt;div id="dialog-1up-br" title="Requests - No Email Address"&gt;&lt;img src="#WORKSPACE_IMAGES#info.gif" height="30" width="30"/&gt;
    Please Note: You are receiving this notification as a valid email address is not available for: &lt;br/&gt;&lt;br/&gt;
  </code></pre>
  
  <p>My region source for this PL/SQL Region block is:</p>
  
  <pre><code>BEGIN
    htp.p('&lt;ul&gt;');
    FOR i_rec IN ( SELECT a.c001 staff_id
                   FROM   apex_collections a
                   WHERE  a.collection_name = 'EMP_COLLECTION') LOOP
      htp.p('&lt;li&gt;'||i_rec.staff_id ||'&lt;/li&gt;');
    END LOOP;
    htp.p('&lt;/ul&gt;');
  END;
  </code></pre>
  
  <p>So based on this info above, when my jQuery UI Dialog box appears based on this PL/SQL Region, my region header info appears correctly but nothing appears below it, based on my region source PL/SQL?</p>
  
  <p>Is it because I have not actually submitted my page as I can see my collection within my session variables and it has the correct info?</p>