Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Upload file, Ajax, and page submit

558802May 22 2007 — edited Jun 3 2009
Hi everyone,

I am having some problems mixing the upload item with some ajax. I want to upload an sql file, write it to the server, execute it and output exceptions ...

I created an upload item with a Submit button. The Submit button is calling an ajax application process from a javascript function which does the stuff. But as the page is not submitted from javascript, the file could not be uploaded ... I could submit it but I will loose the call the ajax process.

My question is : Is there a way for uploading a file to wwv_flow_files without submitting the page ? Or how can I submit the page as soon as I select the file to upload (before clicking on the Submit button) ? Thanks.

Best regards,
Othman
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2009
Added on May 22 2007
2 comments
779 views