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.