14 Replies Latest reply: Mar 16, 2011 5:17 PM by BillC RSS

    ON SAVE -The connection to the server was reset while the page was loading.

    BillC
      Hi, the following is how the "The connection to the server was reset while the page was loading." error was reproduce every time.

      http://apex.oracle.com/pls/otn/f?p=43851

      Workspace MYTMP
      TEST_USER/demo
      Just open the Upload Display item and then save it...

      The connection to the server was reset while the page was loading.


      From scratch:

      1. Click plus sign to "Create Item"
      2. Click "Display Only"
      3. Type name and select region -- next
      4. Clear Label -- next
      5. Change "Based On" to "Output of PL/SQL Code"
      6. Paste or type in
      declare
      ls_button VARCHAR2(400);
      begin
      ls_button := '[button type="button" onclick="javascript:load_template();"]Upload[button]';
      htp.p(sys.htf.escape_sc(ls_button));
      end;
      7. Click Next -- get error


      I removed the onclick="javascript:load_template();" and it works