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!

display image dynamic refresh with modal dialog

mnonoluFeb 25 2017 — edited Nov 21 2017

Hello all,

I need your help for something that should (normally) be very simple...

Here is the case :

I have a page with a display image item based on SQL query returning blob, this is working well and displaying the picture (based on apex_application_temp_files).

On the same page, I have a button that call a modal dialog to upload a new picture. This is working well, that picture can be uploaded into temp table, the file id passed back to parent page and a submit in done on the parent page to refresh and display the new picture.

But I would like to refresh the display image item without submitting parent page..

Of course, I tried a dynamic to refresh the display image item but it does not seem to work.

Also tried to use GET_BLOB_FILE_SRC function to replace the src attribute. But the producded url does not work. I do not know exactly why, not sure this works with apex_application_temp_files. Anyway the url looks likeĀ  "apex_util.get_blob_file?..." as the original url looked like "wwv_flow.show?..." So I guess I need a link looking like the second one...

So the question is : how can I generate the link to replace the src of a display image?

Any other alternative is also welcome but using a report is not an acceptable alternative...

Thanks in advance...

Regards,

Mno.

This post has been answered by mnonolu on Jun 9 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2017
Added on Feb 25 2017
9 comments
4,779 views